Represents the result of a HTTP/HTTPS request.
- See also
Public / Methods
Returns the string representation of this value.
The string representation is
'(CODE) TEXT', where
CODE is the value of StatusCode and
TEXT is the value of StatusText. If StatusCode is
CODE will be set to
N is the ordinal value of Error.
Public / Attributes
The non-protocol error that has occurred.
If StatusCode is equal to
0, this value describes the non-protocol error that has occurred. Otherwise, this value has no meaning and will be set to IOError.Other.
Does this SimpleHttpResult value represent a successful HTTP request?
Length of the content, in bytes.
This is the number of received content bytes. Will be equal to the value of the
Content-Length HTTP response header field, if it is present (it may be omitted in some cases, for example when using HTTP Chunked Transfer Coding).
The HTTP status code or
0 for non-protocol errors (see Error).