RestRequest
Container for data used to make requests
Set this to handle the response stream yourself, based on the response details
Always send a multipart/form-data request - even when no Files are present.
How many attempts were made to send this Request
Completion option for HttpClient
Container of all the files to be uploaded with the request.
Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
Default is GET
When supplied, the function will be called after the request is complete
When supplied, the function will be called before calling the deserializer
When supplied, the function will be called before making a request
Container of all HTTP parameters to be passed with the request.
See AddParameter() for explanation of the types of parameters that can be passed
Serializer to use when writing request bodies.
The Resource URL to make the request against.
Tokens are substituted with UrlSegment parameters and match by name.
Should not include the scheme or domain. Do not include leading slash.
Combined with RestClient.BaseUrl to assemble final URL:
{BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
Set this to write response to Stream rather than reading into memory.
Used by the default deserializers to determine where to start deserializing from.
Can be used to skip container or root elements that do not have corresponding deserialzation targets.
Custom request timeout
public RestRequest()
Default constructor
Adds a parameter object to the request parameters
Removes a parameter object from the request parameters