-
Notifications
You must be signed in to change notification settings - Fork 51
RestResponse
Grapevine.Client.RESTResponse
A RESTResponse
is returned from the Execute()
method of a RESTClient
.
RESTResponse
does not expose any public constructors.
RESTResponse
does not expose any public methods.
All public properties are read only.
Returns the body of the response as a string.
Returns the method that is used to encode the body of the response.
Returns the length of the content returned by the request.
Returns the content type of the response.
Cookies : CookieCollection
Returns the cookies that are associated with this response.
Returns the elapsed time of the request in milliseconds.
Returns the error message if an error occurred in executing the request.
ErrorStatus : WebExceptionStatus
Returns the WebExceptionStatus
of the request (WebExceptionStatus.Success
if there was no error).
Headers : WebHeaderCollection
Returns the headers that are associated with this response.
Returns the response status code for this response.
ResponseUri : Uri
Returns the URI
of the Internet resource that responded to the request.
Returns true if an error occurred in the execution of the request.
Returns the name of the server that sent the response.
StatusCode : HttpStatusCode
Returns the HttpStatusCode
of the response.
Returns the status description returned with the response.