HTTPSecureSocket.HTTPStatusCode

From Xojo Documentation

Property (As Integer )
aHTTPSecureSocket.HTTPStatusCode = newIntegerValue
or
IntegerValue = aHTTPSecureSocket.HTTPStatusCode

New in 2005r1

Supported for all project types and targets.

Returns the resulting code from the server.

Notes

This function can provide the status code when the socket is used in synchronous mode.

Example

This example displays the status code in a TextField.

TextField1.Text = Str(Socket1.HTTPStatusCode)