Color scheme: Riviera
You are here: start » en » Documentation » Microsoft Access development tools » WKL Forms Object Library » WKL Forms Object Library API reference » WklHttpResult

WklHttpResult

WklHttpResult class

Signature

Dim myWklHttpResult As WklHttpResult

Summary

The answer to a web request; stays valid after the event.

Parameters

None

Remarks

Not created directly; returned by other members of the library.

MemberKindSummary
`Text`PropertyGets the response text.
`Status`PropertyGets the HTTP status.
`Header`PropertyGets a response header.
`Headers`PropertyGets all response headers.

Code example

None

Inheritance

None

Text property

Signature

Property Get Text() As String

Summary

Gets the response text.

Parameters

None

Property value: String – Decoded by the charset of the answer, otherwise as UTF-8.

Remarks

Default member: it can be left out, as in myWklHttpResult(...) for myWklHttpResult.Text(...). Read-only.

Code example

None

Inheritance

Declared by WklHttpResult.

Status property

Signature

Property Get Status() As Long

Summary

Gets the HTTP status.

Parameters

None

Property value: Long – The status code.

Remarks

Read-only.

Code example

None

Inheritance

Declared by WklHttpResult.

Header property

Signature

Property Get Header(ByVal Name As String) As String

Summary

Gets a response header.

Parameters

NameTypeOptionalDefaultDescription
NameStringNo–The header name.

Property value: String – The value, or empty.

Remarks

Read-only.

Code example

None

Inheritance

Declared by WklHttpResult.

Headers property

Signature

Property Get Headers() As String

Summary

Gets all response headers.

Parameters

None

Property value: String – One “Name: value” per line.

Remarks

Read-only.

Code example

None

Inheritance

Declared by WklHttpResult.

en/wiki/msaccess/comctl/api-reference/wklhttpresult.txt · Last modified: by Wolfgang van der Stille