struct
|
SimpleHttpResult
|
Value
of
the
Content-Type
HTTP
response
header
field.
public
readonly
field
|
ContentType
|
||
type
|
string
|
The non-protocol error that has occurred.
public
readonly
field
|
Error
|
||
type
|
IOError
|
Remarks:
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
Other.
Does this SimpleHttpResult value represent a successful HTTP request?
public
property
|
IsSuccess
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
the
HTTP
request
was
successful,
false
if
it
has
failed.
|
Length of the content, in bytes.
public
readonly
field
|
Length
|
||
type
|
int64
|
Remarks:
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).
public
readonly
field
|
StatusCode
|
||
type
|
int32
|
The HTTP status text.
public
readonly
field
|
StatusText
|
||
type
|
string
|
The total time of the request, in milliseconds.
public
readonly
field
|
Time
|
||
type
|
int32
|
public
override
method
|
ToString
()
|
||
type
|
string
|