Class Protocols.HTTP.Promise.Result
- Variable extra_args
array
(mixed
) Protocols.HTTP.Promise.Result.extra_args- Description
Extra arguments set in the Arguments object.
- Note
Read only
- Variable headers
mapping
Protocols.HTTP.Promise.Result.headers- Description
The HTTP response headers
- Note
Read only
- Variable host
string
Protocols.HTTP.Promise.Result.host- Description
The host that was called in the request
- Note
Read only
- Variable ok
Protocols.HTTP.Promise.Result.okbool
- Description
Return true if scuccess, false otherwise
- Note
Read only
- Variable result
protected
mapping
Protocols.HTTP.Promise.Result.result- Description
Internal result mapping
- Variable status
int
Protocols.HTTP.Promise.Result.status- Description
The HTTP status of the response, e.g 200, 201, 404 and so on.
- Note
Read only
- Variable status_description
string
Protocols.HTTP.Promise.Result.status_description- Description
The textual representation of status.
- Note
Read only
- Variable url
string
Protocols.HTTP.Promise.Result.url- Description
Returns the requested URL
- Note
Read only