2859 lines
129 KiB
XML
2859 lines
129 KiB
XML
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>RestSharp</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="T:RestSharp.Authenticators.JwtAuthenticator">
|
|
<summary>
|
|
JSON WEB TOKEN (JWT) Authenticator class.
|
|
<remarks>https://tools.ietf.org/html/draft-ietf-oauth-json-web-token</remarks>
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Authenticators.NtlmAuthenticator">
|
|
<summary>
|
|
Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.NtlmAuthenticator.#ctor">
|
|
<summary>
|
|
Authenticate with the credentials of the currently logged in user
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.NtlmAuthenticator.#ctor(System.String,System.String)">
|
|
<summary>
|
|
Authenticate by impersonation
|
|
</summary>
|
|
<param name="username"></param>
|
|
<param name="password"></param>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.NtlmAuthenticator.#ctor(System.Net.ICredentials)">
|
|
<summary>
|
|
Authenticate by impersonation, using an existing <c>ICredentials</c> instance
|
|
</summary>
|
|
<param name="credentials"></param>
|
|
</member>
|
|
<member name="T:RestSharp.Authenticators.OAuth1Authenticator">
|
|
<seealso href="http://tools.ietf.org/html/rfc5849"/>
|
|
</member>
|
|
<member name="T:RestSharp.Authenticators.OAuth2Authenticator">
|
|
<summary>
|
|
Base class for OAuth 2 Authenticators.
|
|
</summary>
|
|
<remarks>
|
|
Since there are many ways to authenticate in OAuth2,
|
|
this is used as a base class to differentiate between
|
|
other authenticators.
|
|
|
|
Any other OAuth2 authenticators must derive from this
|
|
abstract class.
|
|
</remarks>
|
|
</member>
|
|
<member name="F:RestSharp.Authenticators.OAuth2Authenticator.accessToken">
|
|
<summary>
|
|
Access token to be used when authenticating.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth2Authenticator.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:RestSharp.Authenticators.OAuth2Authenticator"/> class.
|
|
</summary>
|
|
<param name="accessToken">
|
|
The access token.
|
|
</param>
|
|
</member>
|
|
<member name="P:RestSharp.Authenticators.OAuth2Authenticator.AccessToken">
|
|
<summary>
|
|
Gets the access token.
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Authenticators.OAuth2UriQueryParameterAuthenticator">
|
|
<summary>
|
|
The OAuth 2 authenticator using URI query parameter.
|
|
</summary>
|
|
<remarks>
|
|
Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
|
|
</remarks>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth2UriQueryParameterAuthenticator.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:RestSharp.Authenticators.OAuth2UriQueryParameterAuthenticator"/> class.
|
|
</summary>
|
|
<param name="accessToken">
|
|
The access token.
|
|
</param>
|
|
</member>
|
|
<member name="T:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator">
|
|
<summary>
|
|
The OAuth 2 authenticator using the authorization request header field.
|
|
</summary>
|
|
<remarks>
|
|
Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
|
|
</remarks>
|
|
</member>
|
|
<member name="F:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator.authorizationValue">
|
|
<summary>
|
|
Stores the Authorization header value as "[tokenType] accessToken". used for performance.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator"/> class.
|
|
</summary>
|
|
<param name="accessToken">
|
|
The access token.
|
|
</param>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator.#ctor(System.String,System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator"/> class.
|
|
</summary>
|
|
<param name="accessToken">
|
|
The access token.
|
|
</param>
|
|
<param name="tokenType">
|
|
The token type.
|
|
</param>
|
|
</member>
|
|
<member name="F:RestSharp.Authenticators.OAuth.OAuthTools.encoding">
|
|
<summary>
|
|
All text parameters are UTF-8 encoded (per section 5.1).
|
|
</summary>
|
|
<seealso cref="!:http://www.hueniverse.com/hueniverse/2008/10/beginners-gui-1.html"/>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetNonce">
|
|
<summary>
|
|
Generates a random 16-byte lowercase alphanumeric string.
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#nonce"/>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetTimestamp">
|
|
<summary>
|
|
Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#nonce"/>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetTimestamp(System.DateTime)">
|
|
<summary>
|
|
Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#nonce"/>
|
|
<param name="dateTime">A specified point in time.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="F:RestSharp.Authenticators.OAuth.OAuthTools.uriRfc3986CharsToEscape">
|
|
<summary>
|
|
The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
|
|
</summary>
|
|
<seealso cref="!:http://stackoverflow.com/questions/846487/how-to-get-uri-escapedatastring-to-comply-with-rfc-3986"/>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.UrlEncodeRelaxed(System.String)">
|
|
<summary>
|
|
URL encodes a string based on section 5.1 of the OAuth spec.
|
|
Namely, percent encoding with [RFC3986], avoiding unreserved characters,
|
|
upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
|
|
</summary>
|
|
<param name="value">The value to escape.</param>
|
|
<returns>The escaped value.</returns>
|
|
<remarks>
|
|
The <see cref="M:System.Uri.EscapeDataString(System.String)"/> method is <i>supposed</i> to take on
|
|
RFC 3986 behavior if certain elements are present in a .config file. Even if this
|
|
actually worked (which in my experiments it <i>doesn't</i>), we can't rely on every
|
|
host actually having this configuration element present.
|
|
</remarks>
|
|
<seealso cref="!:http://oauth.net/core/1.0#encoding_parameters"/>
|
|
<seealso cref="!:http://stackoverflow.com/questions/846487/how-to-get-uri-escapedatastring-to-comply-with-rfc-3986"/>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.UrlEncodeStrict(System.String)">
|
|
<summary>
|
|
URL encodes a string based on section 5.1 of the OAuth spec.
|
|
Namely, percent encoding with [RFC3986], avoiding unreserved characters,
|
|
upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
|
|
</summary>
|
|
<param name="value"></param>
|
|
<seealso cref="!:http://oauth.net/core/1.0#encoding_parameters"/>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.NormalizeRequestParameters(RestSharp.Authenticators.OAuth.WebParameterCollection)">
|
|
<summary>
|
|
Sorts a collection of key-value pairs by name, and then value if equal,
|
|
concatenating them into a single string. This string should be encoded
|
|
prior to, or after normalization is run.
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.1"/>
|
|
<param name="parameters"></param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.SortParametersExcludingSignature(RestSharp.Authenticators.OAuth.WebParameterCollection)">
|
|
<summary>
|
|
Sorts a <see cref="T:RestSharp.Authenticators.OAuth.WebParameterCollection"/> by name, and then value if equal.
|
|
</summary>
|
|
<param name="parameters">A collection of parameters to sort</param>
|
|
<returns>A sorted parameter collection</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.ConstructRequestUrl(System.Uri)">
|
|
<summary>
|
|
Creates a request URL suitable for making OAuth requests.
|
|
Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
|
|
Resulting URLs must be lower case.
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.2"/>
|
|
<param name="url">The original request URL</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.ConcatenateRequestElements(System.String,System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)">
|
|
<summary>
|
|
Creates a request elements concatentation value to send with a request.
|
|
This is also known as the signature base.
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.3"/>
|
|
<seealso cref="!:http://oauth.net/core/1.0#sig_base_example"/>
|
|
<param name="method">The request's HTTP method type</param>
|
|
<param name="url">The request URL</param>
|
|
<param name="parameters">The request's parameters</param>
|
|
<returns>A signature base string</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,System.String,System.String)">
|
|
<summary>
|
|
Creates a signature value given a signature base and the consumer secret.
|
|
This method is used when the token secret is currently unknown.
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/>
|
|
<param name="signatureMethod">The hashing method</param>
|
|
<param name="signatureBase">The signature base</param>
|
|
<param name="consumerSecret">The consumer key</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,RestSharp.Authenticators.OAuth.OAuthSignatureTreatment,System.String,System.String)">
|
|
<summary>
|
|
Creates a signature value given a signature base and the consumer secret.
|
|
This method is used when the token secret is currently unknown.
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/>
|
|
<param name="signatureMethod">The hashing method</param>
|
|
<param name="signatureTreatment">The treatment to use on a signature value</param>
|
|
<param name="signatureBase">The signature base</param>
|
|
<param name="consumerSecret">The consumer key</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,System.String,System.String,System.String)">
|
|
<summary>
|
|
Creates a signature value given a signature base and the consumer secret and a known token secret.
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/>
|
|
<param name="signatureMethod">The hashing method</param>
|
|
<param name="signatureBase">The signature base</param>
|
|
<param name="consumerSecret">The consumer secret</param>
|
|
<param name="tokenSecret">The token secret</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,RestSharp.Authenticators.OAuth.OAuthSignatureTreatment,System.String,System.String,System.String)">
|
|
<summary>
|
|
Creates a signature value given a signature base and the consumer secret and a known token secret.
|
|
</summary>
|
|
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/>
|
|
<param name="signatureMethod">The hashing method</param>
|
|
<param name="signatureTreatment">The treatment to use on a signature value</param>
|
|
<param name="signatureBase">The signature base</param>
|
|
<param name="consumerSecret">The consumer secret</param>
|
|
<param name="tokenSecret">The token secret</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="T:RestSharp.Authenticators.OAuth.OAuthWorkflow">
|
|
<summary>
|
|
A class to encapsulate OAuth authentication flow.
|
|
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildRequestTokenInfo(System.String)">
|
|
<summary>
|
|
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
|
|
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of requesting an
|
|
unauthorized request token.
|
|
</summary>
|
|
<param name="method">The HTTP method for the intended request</param>
|
|
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildRequestTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)">
|
|
<summary>
|
|
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
|
|
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of requesting an
|
|
unauthorized request token.
|
|
</summary>
|
|
<param name="method">The HTTP method for the intended request</param>
|
|
<param name="parameters">Any existing, non-OAuth query parameters desired in the request</param>
|
|
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildAccessTokenInfo(System.String)">
|
|
<summary>
|
|
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
|
|
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of exchanging a request token
|
|
for an access token authorized by the user at the Service Provider site.
|
|
</summary>
|
|
<param name="method">The HTTP method for the intended request</param>
|
|
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildAccessTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)">
|
|
<summary>
|
|
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
|
|
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of exchanging a request token
|
|
for an access token authorized by the user at the Service Provider site.
|
|
</summary>
|
|
<param name="method">The HTTP method for the intended request</param>
|
|
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
|
|
<param name="parameters">Any existing, non-OAuth query parameters desired in the request</param>
|
|
</member>
|
|
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildClientAuthAccessTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)">
|
|
<summary>
|
|
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
|
|
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of exchanging user credentials
|
|
for an access token authorized by the user at the Service Provider site.
|
|
</summary>
|
|
<param name="method">The HTTP method for the intended request</param>
|
|
<seealso cref="!:http://tools.ietf.org/html/draft-dehora-farrell-oauth-accesstoken-creds-00#section-4"/>
|
|
<param name="parameters">Any existing, non-OAuth query parameters desired in the request</param>
|
|
</member>
|
|
<member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.RequestTokenUrl">
|
|
<seealso cref="!:http://oauth.net/core/1.0#request_urls"/>
|
|
</member>
|
|
<member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.AccessTokenUrl">
|
|
<seealso cref="!:http://oauth.net/core/1.0#request_urls"/>
|
|
</member>
|
|
<member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.AuthorizationUrl">
|
|
<seealso cref="!:http://oauth.net/core/1.0#request_urls"/>
|
|
</member>
|
|
<member name="T:RestSharp.Deserializers.DeserializeAsAttribute">
|
|
<summary>
|
|
Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Deserializers.DeserializeAsAttribute.Name">
|
|
<summary>
|
|
The name to use for the serialized element
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Deserializers.DeserializeAsAttribute.Attribute">
|
|
<summary>
|
|
Sets if the property to Deserialize is an Attribute or Element (Default: false)
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.MonoHttp.HttpUtility.HtmlDecode(System.String)">
|
|
<summary>
|
|
Decodes an HTML-encoded string and returns the decoded string.
|
|
</summary>
|
|
<param name="s">The HTML string to decode. </param>
|
|
<returns>The decoded text.</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.MonoHttp.HttpUtility.HtmlDecode(System.String,System.IO.TextWriter)">
|
|
<summary>
|
|
Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
|
|
</summary>
|
|
<param name="s">The HTML string to decode</param>
|
|
<param name="output">The TextWriter output stream containing the decoded string. </param>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.MonoHttp.HttpUtility.HtmlEncode(System.String,System.IO.TextWriter)">
|
|
<summary>
|
|
HTML-encodes a string and sends the resulting output to a TextWriter output stream.
|
|
</summary>
|
|
<param name="s">The string to encode. </param>
|
|
<param name="output">The TextWriter output stream containing the encoded string. </param>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.ResponseStatusExtensions.ToWebException(RestSharp.ResponseStatus)">
|
|
<summary>
|
|
Convert a <see cref="T:RestSharp.ResponseStatus"/> to a <see cref="T:System.Net.WebException"/> instance.
|
|
</summary>
|
|
<param name="responseStatus">The response status.</param>
|
|
<returns></returns>
|
|
<exception cref="T:System.ArgumentOutOfRangeException">responseStatus</exception>
|
|
</member>
|
|
<member name="M:RestSharp.RestClientExtensions.ExecuteAsync(RestSharp.IRestClient,RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse})">
|
|
<summary>
|
|
Executes the request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<param name="client">The IRestClient this method extends</param>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClientExtensions.ExecuteAsync``1(RestSharp.IRestClient,RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0}})">
|
|
<summary>
|
|
Executes the request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<param name="client">The IRestClient this method extends</param>
|
|
<typeparam name="T">Target deserialization type</typeparam>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion providing access to the async handle</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,RestSharp.Parameter)">
|
|
<summary>
|
|
Add a parameter to use on every request made with this client instance
|
|
</summary>
|
|
<param name="restClient">The IRestClient instance</param>
|
|
<param name="p">Parameter to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClientExtensions.RemoveDefaultParameter(RestSharp.IRestClient,System.String)">
|
|
<summary>
|
|
Removes a parameter from the default parameters that are used on every request made with this client instance
|
|
</summary>
|
|
<param name="restClient">The IRestClient instance</param>
|
|
<param name="name">The name of the parameter that needs to be removed</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,System.String,System.Object)">
|
|
<summary>
|
|
Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
|
|
Used on every request made by this client instance
|
|
</summary>
|
|
<param name="restClient">The IRestClient instance</param>
|
|
<param name="name">Name of the parameter</param>
|
|
<param name="value">Value of the parameter</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,System.String,System.Object,RestSharp.ParameterType)">
|
|
<summary>
|
|
Adds a parameter to the request. There are four types of parameters:
|
|
- GetOrPost: Either a QueryString value or encoded form value based on method
|
|
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
|
|
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
|
|
- RequestBody: Used by AddBody() (not recommended to use directly)
|
|
</summary>
|
|
<param name="restClient">The IRestClient instance</param>
|
|
<param name="name">Name of the parameter</param>
|
|
<param name="value">Value of the parameter</param>
|
|
<param name="type">The type of parameter to add</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClientExtensions.AddDefaultHeader(RestSharp.IRestClient,System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
|
|
</summary>
|
|
<param name="restClient">The IRestClient instance</param>
|
|
<param name="name">Name of the header to add</param>
|
|
<param name="value">Value of the header to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClientExtensions.AddDefaultUrlSegment(RestSharp.IRestClient,System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
|
|
</summary>
|
|
<param name="restClient">The IRestClient instance</param>
|
|
<param name="name">Name of the segment to add</param>
|
|
<param name="value">Value of the segment to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.UrlEncode(System.String)">
|
|
<summary>
|
|
Uses Uri.EscapeDataString() based on recommendations on MSDN
|
|
http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.HasValue(System.String)">
|
|
<summary>
|
|
Check that a string is not null or empty
|
|
</summary>
|
|
<param name="input">String to check</param>
|
|
<returns>bool</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.RemoveUnderscoresAndDashes(System.String)">
|
|
<summary>
|
|
Remove underscores from a string
|
|
</summary>
|
|
<param name="input">String to process</param>
|
|
<returns>string</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.ParseJsonDate(System.String,System.Globalization.CultureInfo)">
|
|
<summary>
|
|
Parses most common JSON date formats
|
|
</summary>
|
|
<param name="input">JSON value to parse</param>
|
|
<param name="culture"></param>
|
|
<returns>DateTime</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.RemoveSurroundingQuotes(System.String)">
|
|
<summary>
|
|
Remove leading and trailing " from a string
|
|
</summary>
|
|
<param name="input">String to parse</param>
|
|
<returns>String</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.Matches(System.String,System.String)">
|
|
<summary>
|
|
Checks a string to see if it matches a regex
|
|
</summary>
|
|
<param name="input">String to check</param>
|
|
<param name="pattern">Pattern to match</param>
|
|
<returns>bool</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.ToPascalCase(System.String,System.Globalization.CultureInfo)">
|
|
<summary>
|
|
Converts a string to pascal case
|
|
</summary>
|
|
<param name="lowercaseAndUnderscoredWord">String to convert</param>
|
|
<param name="culture"></param>
|
|
<returns>string</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.ToPascalCase(System.String,System.Boolean,System.Globalization.CultureInfo)">
|
|
<summary>
|
|
Converts a string to pascal case with the option to remove underscores
|
|
</summary>
|
|
<param name="text">String to convert</param>
|
|
<param name="removeUnderscores">Option to remove underscores</param>
|
|
<param name="culture"></param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.ToCamelCase(System.String,System.Globalization.CultureInfo)">
|
|
<summary>
|
|
Converts a string to camel case
|
|
</summary>
|
|
<param name="lowercaseAndUnderscoredWord">String to convert</param>
|
|
<param name="culture"></param>
|
|
<returns>String</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.MakeInitialLowerCase(System.String)">
|
|
<summary>
|
|
Convert the first letter of a string to lower case
|
|
</summary>
|
|
<param name="word">String to convert</param>
|
|
<returns>string</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.IsUpperCase(System.String)">
|
|
<summary>
|
|
Checks to see if a string is all uppper case
|
|
</summary>
|
|
<param name="inputString">String to check</param>
|
|
<returns>bool</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.AddUnderscores(System.String)">
|
|
<summary>
|
|
Add underscores to a pascal-cased string
|
|
</summary>
|
|
<param name="pascalCasedWord">String to convert</param>
|
|
<returns>string</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.AddDashes(System.String)">
|
|
<summary>
|
|
Add dashes to a pascal-cased string
|
|
</summary>
|
|
<param name="pascalCasedWord">String to convert</param>
|
|
<returns>string</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.AddUnderscorePrefix(System.String)">
|
|
<summary>
|
|
Add an undescore prefix to a pascasl-cased string
|
|
</summary>
|
|
<param name="pascalCasedWord"></param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.AddSpaces(System.String)">
|
|
<summary>
|
|
Add spaces to a pascal-cased string
|
|
</summary>
|
|
<param name="pascalCasedWord">String to convert</param>
|
|
<returns>string</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.StringExtensions.GetNameVariants(System.String,System.Globalization.CultureInfo)">
|
|
<summary>
|
|
Return possible variants of a name for name matching.
|
|
</summary>
|
|
<param name="name">String to convert</param>
|
|
<param name="culture">The culture to use for conversion</param>
|
|
<returns>IEnumerable<string></returns>
|
|
</member>
|
|
<member name="T:RestSharp.Http">
|
|
<summary>
|
|
HttpWebRequest wrapper (sync methods)
|
|
</summary>
|
|
<summary>
|
|
HttpWebRequest wrapper
|
|
</summary>
|
|
<summary>
|
|
HttpWebRequest wrapper (async methods)
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttp.AlwaysMultipartFormData">
|
|
<summary>
|
|
Always send a multipart/form-data request - even when no Files are present.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttp.RequestBodyBytes">
|
|
<summary>
|
|
An alternative to RequestBody, for when the caller already has the byte array.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Post">
|
|
<summary>
|
|
Execute a POST request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Put">
|
|
<summary>
|
|
Execute a PUT request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Get">
|
|
<summary>
|
|
Execute a GET request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Head">
|
|
<summary>
|
|
Execute a HEAD request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Options">
|
|
<summary>
|
|
Execute an OPTIONS request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Delete">
|
|
<summary>
|
|
Execute a DELETE request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Patch">
|
|
<summary>
|
|
Execute a PATCH request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Merge">
|
|
<summary>
|
|
Execute a MERGE request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.AsGet(System.String)">
|
|
<summary>
|
|
Execute a GET-style request with the specified HTTP Method.
|
|
</summary>
|
|
<param name="httpMethod">The HTTP method to execute.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Http.AsPost(System.String)">
|
|
<summary>
|
|
Execute a POST-style request with the specified HTTP Method.
|
|
</summary>
|
|
<param name="httpMethod">The HTTP method to execute.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Http.Create">
|
|
<summary>
|
|
Creates an IHttp
|
|
</summary>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Http.#ctor">
|
|
<summary>
|
|
Default constructor
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Http.AsPostAsync(System.Action{RestSharp.HttpResponse},System.String)">
|
|
<summary>
|
|
Execute an async POST-style request with the specified HTTP Method.
|
|
</summary>
|
|
<param name="action"></param>
|
|
<param name="httpMethod">The HTTP method to execute.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Http.AsGetAsync(System.Action{RestSharp.HttpResponse},System.String)">
|
|
<summary>
|
|
Execute an async GET-style request with the specified HTTP Method.
|
|
</summary>
|
|
<param name="action"></param>
|
|
<param name="httpMethod">The HTTP method to execute.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="P:RestSharp.Http.HasParameters">
|
|
<summary>
|
|
True if this HTTP request has any HTTP parameters
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.HasCookies">
|
|
<summary>
|
|
True if this HTTP request has any HTTP cookies
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.HasBody">
|
|
<summary>
|
|
True if a request body has been specified
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.HasFiles">
|
|
<summary>
|
|
True if files have been set to be uploaded
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.AlwaysMultipartFormData">
|
|
<summary>
|
|
Always send a multipart/form-data request - even when no Files are present.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.UserAgent">
|
|
<summary>
|
|
UserAgent to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.Timeout">
|
|
<summary>
|
|
Timeout in milliseconds to be used for the request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.ReadWriteTimeout">
|
|
<summary>
|
|
The number of milliseconds before the writing or reading times out.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.Credentials">
|
|
<summary>
|
|
System.Net.ICredentials to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.CookieContainer">
|
|
<summary>
|
|
The System.Net.CookieContainer to be used for the request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.ResponseWriter">
|
|
<summary>
|
|
The method to use to write the response instead of reading into RawBytes
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.Files">
|
|
<summary>
|
|
Collection of files to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.FollowRedirects">
|
|
<summary>
|
|
Whether or not HTTP 3xx response redirects should be automatically followed
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.ClientCertificates">
|
|
<summary>
|
|
X509CertificateCollection to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.MaxRedirects">
|
|
<summary>
|
|
Maximum number of automatic redirects to follow if FollowRedirects is true
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.UseDefaultCredentials">
|
|
<summary>
|
|
Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
|
|
will be sent along to the server.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.Headers">
|
|
<summary>
|
|
HTTP headers to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.Parameters">
|
|
<summary>
|
|
HTTP parameters (QueryString or Form values) to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.Cookies">
|
|
<summary>
|
|
HTTP cookies to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.RequestBody">
|
|
<summary>
|
|
Request body to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.RequestContentType">
|
|
<summary>
|
|
Content type of the request body.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.RequestBodyBytes">
|
|
<summary>
|
|
An alternative to RequestBody, for when the caller already has the byte array.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.Url">
|
|
<summary>
|
|
URL to call for this request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.PreAuthenticate">
|
|
<summary>
|
|
Flag to send authorisation header with the HttpWebRequest
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.Proxy">
|
|
<summary>
|
|
Proxy info to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Http.CachePolicy">
|
|
<summary>
|
|
Caching policy for requests created with this wrapper.
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.HttpCookie">
|
|
<summary>
|
|
Representation of an HTTP cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Comment">
|
|
<summary>
|
|
Comment of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.CommentUri">
|
|
<summary>
|
|
Comment of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Discard">
|
|
<summary>
|
|
Indicates whether the cookie should be discarded at the end of the session
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Domain">
|
|
<summary>
|
|
Domain of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Expired">
|
|
<summary>
|
|
Indicates whether the cookie is expired
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Expires">
|
|
<summary>
|
|
Date and time that the cookie expires
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.HttpOnly">
|
|
<summary>
|
|
Indicates that this cookie should only be accessed by the server
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Name">
|
|
<summary>
|
|
Name of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Path">
|
|
<summary>
|
|
Path of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Port">
|
|
<summary>
|
|
Port of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Secure">
|
|
<summary>
|
|
Indicates that the cookie should only be sent over secure channels
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.TimeStamp">
|
|
<summary>
|
|
Date and time the cookie was created
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Value">
|
|
<summary>
|
|
Value of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpCookie.Version">
|
|
<summary>
|
|
Version of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.HttpResponse">
|
|
<summary>
|
|
HTTP response data
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.IHttpResponse">
|
|
<summary>
|
|
HTTP response data
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.ContentType">
|
|
<summary>
|
|
MIME content type of response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.ContentLength">
|
|
<summary>
|
|
Length in bytes of the response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.ContentEncoding">
|
|
<summary>
|
|
Encoding of the response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.Content">
|
|
<summary>
|
|
String representation of response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.StatusCode">
|
|
<summary>
|
|
HTTP response status code
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.StatusDescription">
|
|
<summary>
|
|
Description of HTTP status returned
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.RawBytes">
|
|
<summary>
|
|
Response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.ResponseUri">
|
|
<summary>
|
|
The URL that actually responded to the content (different from request if redirected)
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.Server">
|
|
<summary>
|
|
HttpWebResponse.Server
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.Headers">
|
|
<summary>
|
|
Headers returned by server with the response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.Cookies">
|
|
<summary>
|
|
Cookies returned by server with the response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.ResponseStatus">
|
|
<summary>
|
|
Status of the request. Will return Error for transport errors.
|
|
HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.ErrorMessage">
|
|
<summary>
|
|
Transport or other non-HTTP error generated while attempting request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IHttpResponse.ErrorException">
|
|
<summary>
|
|
Exception thrown when error is encountered.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.HttpResponse.#ctor">
|
|
<summary>
|
|
Default constructor
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.ContentType">
|
|
<summary>
|
|
MIME content type of response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.ContentLength">
|
|
<summary>
|
|
Length in bytes of the response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.ContentEncoding">
|
|
<summary>
|
|
Encoding of the response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.Content">
|
|
<summary>
|
|
Lazy-loaded string representation of response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.StatusCode">
|
|
<summary>
|
|
HTTP response status code
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.StatusDescription">
|
|
<summary>
|
|
Description of HTTP status returned
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.RawBytes">
|
|
<summary>
|
|
Response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.ResponseUri">
|
|
<summary>
|
|
The URL that actually responded to the content (different from request if redirected)
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.Server">
|
|
<summary>
|
|
HttpWebResponse.Server
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.Headers">
|
|
<summary>
|
|
Headers returned by server with the response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.Cookies">
|
|
<summary>
|
|
Cookies returned by server with the response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.ResponseStatus">
|
|
<summary>
|
|
Status of the request. Will return Error for transport errors.
|
|
HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.ErrorMessage">
|
|
<summary>
|
|
Transport or other non-HTTP error generated while attempting request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpResponse.ErrorException">
|
|
<summary>
|
|
Exception thrown when error is encountered.
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.ParameterType">
|
|
<summary>
|
|
Types of parameters that can be added to requests
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.DataFormat">
|
|
<summary>
|
|
Data formats
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Method">
|
|
<summary>
|
|
HTTP method to use when making requests
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.DateFormat">
|
|
<summary>
|
|
Format strings for commonly-used date formats
|
|
</summary>
|
|
</member>
|
|
<member name="F:RestSharp.DateFormat.ISO_8601">
|
|
<summary>
|
|
.NET format string for ISO 8601 date format
|
|
</summary>
|
|
</member>
|
|
<member name="F:RestSharp.DateFormat.ROUND_TRIP">
|
|
<summary>
|
|
.NET format string for roundtrip date format
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.ResponseStatus">
|
|
<summary>
|
|
Status for responses (surprised?)
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Extensions.MiscExtensions">
|
|
<summary>
|
|
Extension method overload!
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.MiscExtensions.SaveAs(System.Byte[],System.String)">
|
|
<summary>
|
|
Save a byte array to a file
|
|
</summary>
|
|
<param name="input">Bytes to save</param>
|
|
<param name="path">Full path to save file to</param>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.MiscExtensions.ReadAsBytes(System.IO.Stream)">
|
|
<summary>
|
|
Read a stream into a byte array
|
|
</summary>
|
|
<param name="input">Stream to read</param>
|
|
<returns>byte[]</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.MiscExtensions.CopyTo(System.IO.Stream,System.IO.Stream)">
|
|
<summary>
|
|
Copies bytes from one stream to another
|
|
</summary>
|
|
<param name="input">The input stream.</param>
|
|
<param name="output">The output stream.</param>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.MiscExtensions.AsString(System.Byte[])">
|
|
<summary>
|
|
Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
|
|
http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
|
|
</summary>
|
|
<param name="buffer">An array of bytes to convert</param>
|
|
<returns>The byte as a string.</returns>
|
|
</member>
|
|
<member name="T:RestSharp.Extensions.ReflectionExtensions">
|
|
<summary>
|
|
Reflection extensions
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.ReflectionExtensions.GetAttribute``1(System.Reflection.MemberInfo)">
|
|
<summary>
|
|
Retrieve an attribute from a member (property)
|
|
</summary>
|
|
<typeparam name="T">Type of attribute to retrieve</typeparam>
|
|
<param name="prop">Member to retrieve attribute from</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.ReflectionExtensions.GetAttribute``1(System.Type)">
|
|
<summary>
|
|
Retrieve an attribute from a type
|
|
</summary>
|
|
<typeparam name="T">Type of attribute to retrieve</typeparam>
|
|
<param name="type">Type to retrieve attribute from</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.ReflectionExtensions.IsSubclassOfRawGeneric(System.Type,System.Type)">
|
|
<summary>
|
|
Checks a type to see if it derives from a raw generic (e.g. List[[]])
|
|
</summary>
|
|
<param name="toCheck"></param>
|
|
<param name="generic"></param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.ReflectionExtensions.FindEnumValue(System.Type,System.String,System.Globalization.CultureInfo)">
|
|
<summary>
|
|
Find a value from a System.Enum by trying several possible variants
|
|
of the string value of the enum.
|
|
</summary>
|
|
<param name="type">Type of enum</param>
|
|
<param name="value">Value for which to search</param>
|
|
<param name="culture">The culture used to calculate the name variants</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="T:RestSharp.Extensions.XmlExtensions">
|
|
<summary>
|
|
XML Extension Methods
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Extensions.XmlExtensions.AsNamespaced(System.String,System.String)">
|
|
<summary>
|
|
Returns the name of an element with the namespace if specified
|
|
</summary>
|
|
<param name="name">Element name</param>
|
|
<param name="namespace">XML Namespace</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="T:RestSharp.FileParameter">
|
|
<summary>
|
|
Container for files to be uploaded with requests
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.FileParameter.Create(System.String,System.Byte[],System.String,System.String)">
|
|
<summary>
|
|
Creates a file parameter from an array of bytes.
|
|
</summary>
|
|
<param name="name">The parameter name to use in the request.</param>
|
|
<param name="data">The data to use as the file's contents.</param>
|
|
<param name="filename">The filename to use in the request.</param>
|
|
<param name="contentType">The content type to use in the request.</param>
|
|
<returns>The <see cref="T:RestSharp.FileParameter"/></returns>
|
|
</member>
|
|
<member name="M:RestSharp.FileParameter.Create(System.String,System.Byte[],System.String)">
|
|
<summary>
|
|
Creates a file parameter from an array of bytes.
|
|
</summary>
|
|
<param name="name">The parameter name to use in the request.</param>
|
|
<param name="data">The data to use as the file's contents.</param>
|
|
<param name="filename">The filename to use in the request.</param>
|
|
<returns>The <see cref="T:RestSharp.FileParameter"/> using the default content type.</returns>
|
|
</member>
|
|
<member name="P:RestSharp.FileParameter.ContentLength">
|
|
<summary>
|
|
The length of data to be sent
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.FileParameter.Writer">
|
|
<summary>
|
|
Provides raw data for file
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.FileParameter.FileName">
|
|
<summary>
|
|
Name of the file to use when uploading
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.FileParameter.ContentType">
|
|
<summary>
|
|
MIME content type of file
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.FileParameter.Name">
|
|
<summary>
|
|
Name of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.HttpFile">
|
|
<summary>
|
|
Container for HTTP file
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpFile.ContentLength">
|
|
<summary>
|
|
The length of data to be sent
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpFile.Writer">
|
|
<summary>
|
|
Provides raw data for file
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpFile.FileName">
|
|
<summary>
|
|
Name of the file to use when uploading
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpFile.ContentType">
|
|
<summary>
|
|
MIME content type of file
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpFile.Name">
|
|
<summary>
|
|
Name of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.HttpHeader">
|
|
<summary>
|
|
Representation of an HTTP header
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpHeader.Name">
|
|
<summary>
|
|
Name of the header
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpHeader.Value">
|
|
<summary>
|
|
Value of the header
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.HttpParameter">
|
|
<summary>
|
|
Representation of an HTTP parameter (QueryString or Form value)
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpParameter.Name">
|
|
<summary>
|
|
Name of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpParameter.Value">
|
|
<summary>
|
|
Value of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.HttpParameter.ContentType">
|
|
<summary>
|
|
Content-Type of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.IRestClient.ExecuteAsyncGet(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)">
|
|
<summary>
|
|
Executes a GET-style request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
|
|
<param name="httpMethod">The HTTP method to execute</param>
|
|
</member>
|
|
<member name="M:RestSharp.IRestClient.ExecuteAsyncPost(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)">
|
|
<summary>
|
|
Executes a POST-style request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
|
|
<param name="httpMethod">The HTTP method to execute</param>
|
|
</member>
|
|
<member name="M:RestSharp.IRestClient.ExecuteAsyncGet``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)">
|
|
<summary>
|
|
Executes a GET-style request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<typeparam name="T">Target deserialization type</typeparam>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion</param>
|
|
<param name="httpMethod">The HTTP method to execute</param>
|
|
</member>
|
|
<member name="M:RestSharp.IRestClient.ExecuteAsyncPost``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)">
|
|
<summary>
|
|
Executes a GET-style request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<typeparam name="T">Target deserialization type</typeparam>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion</param>
|
|
<param name="httpMethod">The HTTP method to execute</param>
|
|
</member>
|
|
<member name="P:RestSharp.IRestClient.ClientCertificates">
|
|
<summary>
|
|
X509CertificateCollection to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddFile(System.String,System.String,System.String)">
|
|
<summary>
|
|
Adds a file to the Files collection to be included with a POST or PUT request
|
|
(other methods do not support file uploads).
|
|
</summary>
|
|
<param name="name">The parameter name to use in the request</param>
|
|
<param name="path">Full path to file to upload</param>
|
|
<param name="contentType">The MIME type of the file to upload</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddFile(System.String,System.Byte[],System.String,System.String)">
|
|
<summary>
|
|
Adds the bytes to the Files collection with the specified file name and content type
|
|
</summary>
|
|
<param name="name">The parameter name to use in the request</param>
|
|
<param name="bytes">The file data</param>
|
|
<param name="fileName">The file name to use for the uploaded file</param>
|
|
<param name="contentType">The MIME type of the file to upload</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddFile(System.String,System.Action{System.IO.Stream},System.String,System.String)">
|
|
<summary>
|
|
Adds the bytes to the Files collection with the specified file name and content type
|
|
</summary>
|
|
<param name="name">The parameter name to use in the request</param>
|
|
<param name="writer">A function that writes directly to the stream. Should NOT close the stream.</param>
|
|
<param name="fileName">The file name to use for the uploaded file</param>
|
|
<param name="contentType">The MIME type of the file to upload</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddFileBytes(System.String,System.Byte[],System.String,System.String)">
|
|
<summary>
|
|
Add bytes to the Files collection as if it was a file of specific type
|
|
</summary>
|
|
<param name="name">A form parameter name</param>
|
|
<param name="bytes">The file data</param>
|
|
<param name="filename">The file name to use for the uploaded file</param>
|
|
<param name="contentType">Specific content type. Es: application/x-gzip </param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddBody(System.Object,System.String)">
|
|
<summary>
|
|
Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
|
|
The default format is XML. Change RequestFormat if you wish to use a different serialization format.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<param name="xmlNamespace">The XML namespace to use when serializing</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddBody(System.Object)">
|
|
<summary>
|
|
Serializes obj to data format specified by RequestFormat and adds it to the request body.
|
|
The default format is XML. Change RequestFormat if you wish to use a different serialization format.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddJsonBody(System.Object)">
|
|
<summary>
|
|
Serializes obj to JSON format and adds it to the request body.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddXmlBody(System.Object)">
|
|
<summary>
|
|
Serializes obj to XML format and adds it to the request body.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddXmlBody(System.Object,System.String)">
|
|
<summary>
|
|
Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
|
|
Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<param name="xmlNamespace">The XML namespace to use when serializing</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddObject(System.Object,System.String[])">
|
|
<summary>
|
|
Calls AddParameter() for all public, readable properties specified in the includedProperties list
|
|
</summary>
|
|
<example>
|
|
request.AddObject(product, "ProductId", "Price", ...);
|
|
</example>
|
|
<param name="obj">The object with properties to add as parameters</param>
|
|
<param name="includedProperties">The names of the properties to include</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddObject(System.Object)">
|
|
<summary>
|
|
Calls AddParameter() for all public, readable properties of obj
|
|
</summary>
|
|
<param name="obj">The object with properties to add as parameters</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddParameter(RestSharp.Parameter)">
|
|
<summary>
|
|
Add the parameter to the request
|
|
</summary>
|
|
<param name="p">Parameter to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddParameter(System.String,System.Object)">
|
|
<summary>
|
|
Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
|
|
</summary>
|
|
<param name="name">Name of the parameter</param>
|
|
<param name="value">Value of the parameter</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddParameter(System.String,System.Object,RestSharp.ParameterType)">
|
|
<summary>
|
|
Adds a parameter to the request. There are five types of parameters:
|
|
- GetOrPost: Either a QueryString value or encoded form value based on method
|
|
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
|
|
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
|
|
- Cookie: Adds the name/value pair to the HTTP request's Cookies collection
|
|
- RequestBody: Used by AddBody() (not recommended to use directly)
|
|
</summary>
|
|
<param name="name">Name of the parameter</param>
|
|
<param name="value">Value of the parameter</param>
|
|
<param name="type">The type of parameter to add</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddParameter(System.String,System.Object,System.String,RestSharp.ParameterType)">
|
|
<summary>
|
|
Adds a parameter to the request. There are five types of parameters:
|
|
- GetOrPost: Either a QueryString value or encoded form value based on method
|
|
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
|
|
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
|
|
- Cookie: Adds the name/value pair to the HTTP request's Cookies collection
|
|
- RequestBody: Used by AddBody() (not recommended to use directly)
|
|
</summary>
|
|
<param name="name">Name of the parameter</param>
|
|
<param name="value">Value of the parameter</param>
|
|
<param name="contentType">Content-Type of the parameter</param>
|
|
<param name="type">The type of parameter to add</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddHeader(System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddParameter(name, value, HttpHeader) overload
|
|
</summary>
|
|
<param name="name">Name of the header to add</param>
|
|
<param name="value">Value of the header to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddCookie(System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddParameter(name, value, Cookie) overload
|
|
</summary>
|
|
<param name="name">Name of the cookie to add</param>
|
|
<param name="value">Value of the cookie to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddUrlSegment(System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddParameter(name, value, UrlSegment) overload
|
|
</summary>
|
|
<param name="name">Name of the segment to add</param>
|
|
<param name="value">Value of the segment to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.IRestRequest.AddQueryParameter(System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddParameter(name, value, QueryString) overload
|
|
</summary>
|
|
<param name="name">Name of the parameter to add</param>
|
|
<param name="value">Value of the parameter to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.AlwaysMultipartFormData">
|
|
<summary>
|
|
Always send a multipart/form-data request - even when no Files are present.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.JsonSerializer">
|
|
<summary>
|
|
Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
|
|
By default the included JsonSerializer is used (currently using JSON.NET default serialization).
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.XmlSerializer">
|
|
<summary>
|
|
Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
|
|
By default the included XmlSerializer is used.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.ResponseWriter">
|
|
<summary>
|
|
Set this to write response to Stream rather than reading into memory.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.Parameters">
|
|
<summary>
|
|
Container of all HTTP parameters to be passed with the request.
|
|
See AddParameter() for explanation of the types of parameters that can be passed
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.Files">
|
|
<summary>
|
|
Container of all the files to be uploaded with the request.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.Method">
|
|
<summary>
|
|
Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
|
|
Default is GET
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.Resource">
|
|
<summary>
|
|
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)
|
|
</summary>
|
|
<example>
|
|
// example for url token replacement
|
|
request.Resource = "Products/{ProductId}";
|
|
request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
|
|
</example>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.RequestFormat">
|
|
<summary>
|
|
Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
|
|
By default XmlSerializer is used.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.RootElement">
|
|
<summary>
|
|
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.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.DateFormat">
|
|
<summary>
|
|
Used by the default deserializers to explicitly set which date format string to use when parsing dates.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.XmlNamespace">
|
|
<summary>
|
|
Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.Credentials">
|
|
<summary>
|
|
In general you would not need to set this directly. Used by the NtlmAuthenticator.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.Timeout">
|
|
<summary>
|
|
Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.ReadWriteTimeout">
|
|
<summary>
|
|
The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.Attempts">
|
|
<summary>
|
|
How many attempts were made to send this Request?
|
|
</summary>
|
|
<remarks>
|
|
This Number is incremented each time the RestClient sends the request.
|
|
Useful when using Asynchronous Execution with Callbacks
|
|
</remarks>
|
|
</member>
|
|
<member name="P:RestSharp.IRestRequest.UseDefaultCredentials">
|
|
<summary>
|
|
Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
|
|
will be sent along to the server. The default is false.
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.IRestResponse">
|
|
<summary>
|
|
Container for data sent back from API
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.Request">
|
|
<summary>
|
|
The RestRequest that was made to get this RestResponse
|
|
</summary>
|
|
<remarks>
|
|
Mainly for debugging if ResponseStatus is not OK
|
|
</remarks>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.ContentType">
|
|
<summary>
|
|
MIME content type of response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.ContentLength">
|
|
<summary>
|
|
Length in bytes of the response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.ContentEncoding">
|
|
<summary>
|
|
Encoding of the response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.Content">
|
|
<summary>
|
|
String representation of response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.StatusCode">
|
|
<summary>
|
|
HTTP response status code
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.StatusDescription">
|
|
<summary>
|
|
Description of HTTP status returned
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.RawBytes">
|
|
<summary>
|
|
Response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.ResponseUri">
|
|
<summary>
|
|
The URL that actually responded to the content (different from request if redirected)
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.Server">
|
|
<summary>
|
|
HttpWebResponse.Server
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.Cookies">
|
|
<summary>
|
|
Cookies returned by server with the response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.Headers">
|
|
<summary>
|
|
Headers returned by server with the response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.ResponseStatus">
|
|
<summary>
|
|
Status of the request. Will return Error for transport errors.
|
|
HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.ErrorMessage">
|
|
<summary>
|
|
Transport or other non-HTTP error generated while attempting request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse.ErrorException">
|
|
<summary>
|
|
Exceptions thrown during the request, if any.
|
|
</summary>
|
|
<remarks>Will contain only network transport or framework exceptions thrown during the request.
|
|
HTTP protocol errors are handled by RestSharp and will not appear here.</remarks>
|
|
</member>
|
|
<member name="T:RestSharp.IRestResponse`1">
|
|
<summary>
|
|
Container for data sent back from API including deserialized data
|
|
</summary>
|
|
<typeparam name="T">Type of data to deserialize to</typeparam>
|
|
</member>
|
|
<member name="P:RestSharp.IRestResponse`1.Data">
|
|
<summary>
|
|
Deserialized entity data
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.RestResponseBase">
|
|
<summary>
|
|
Base class for common properties shared by RestResponse and RestResponse[[T]]
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.RestResponseBase.#ctor">
|
|
<summary>
|
|
Default constructor
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.RestResponseBase.DebuggerDisplay">
|
|
<summary>
|
|
Assists with debugging responses by displaying in the debugger output
|
|
</summary>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.Request">
|
|
<summary>
|
|
The RestRequest that was made to get this RestResponse
|
|
</summary>
|
|
<remarks>
|
|
Mainly for debugging if ResponseStatus is not OK
|
|
</remarks>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.ContentType">
|
|
<summary>
|
|
MIME content type of response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.ContentLength">
|
|
<summary>
|
|
Length in bytes of the response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.ContentEncoding">
|
|
<summary>
|
|
Encoding of the response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.Content">
|
|
<summary>
|
|
String representation of response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.StatusCode">
|
|
<summary>
|
|
HTTP response status code
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.StatusDescription">
|
|
<summary>
|
|
Description of HTTP status returned
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.RawBytes">
|
|
<summary>
|
|
Response content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.ResponseUri">
|
|
<summary>
|
|
The URL that actually responded to the content (different from request if redirected)
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.Server">
|
|
<summary>
|
|
HttpWebResponse.Server
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.Cookies">
|
|
<summary>
|
|
Cookies returned by server with the response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.Headers">
|
|
<summary>
|
|
Headers returned by server with the response
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.ResponseStatus">
|
|
<summary>
|
|
Status of the request. Will return Error for transport errors.
|
|
HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.ErrorMessage">
|
|
<summary>
|
|
Transport or other non-HTTP error generated while attempting request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseBase.ErrorException">
|
|
<summary>
|
|
The exception thrown during the request, if any
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.RestResponse`1">
|
|
<summary>
|
|
Container for data sent back from API including deserialized data
|
|
</summary>
|
|
<typeparam name="T">Type of data to deserialize to</typeparam>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponse`1.Data">
|
|
<summary>
|
|
Deserialized entity data
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.RestResponse">
|
|
<summary>
|
|
Container for data sent back from API
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Parameter">
|
|
<summary>
|
|
Parameter container for REST requests
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Parameter.ToString">
|
|
<summary>
|
|
Return a human-readable representation of this parameter
|
|
</summary>
|
|
<returns>String</returns>
|
|
</member>
|
|
<member name="P:RestSharp.Parameter.Name">
|
|
<summary>
|
|
Name of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Parameter.Value">
|
|
<summary>
|
|
Value of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Parameter.Type">
|
|
<summary>
|
|
Type of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Parameter.ContentType">
|
|
<summary>
|
|
MIME content type of the parameter
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.RestClient">
|
|
<summary>
|
|
Client to translate RestRequests into Http requests and process response result
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.#ctor">
|
|
<summary>
|
|
Default constructor that registers default content handlers
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.#ctor(System.Uri)">
|
|
<summary>
|
|
Sets the BaseUrl property for requests made by this client instance
|
|
</summary>
|
|
<param name="baseUrl"></param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.#ctor(System.String)">
|
|
<summary>
|
|
Sets the BaseUrl property for requests made by this client instance
|
|
</summary>
|
|
<param name="baseUrl"></param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.AddHandler(System.String,RestSharp.Deserializers.IDeserializer)">
|
|
<summary>
|
|
Registers a content handler to process response content
|
|
</summary>
|
|
<param name="contentType">MIME content type of the response content</param>
|
|
<param name="deserializer">Deserializer to use to process content</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.RemoveHandler(System.String)">
|
|
<summary>
|
|
Remove a content handler for the specified MIME content type
|
|
</summary>
|
|
<param name="contentType">MIME content type to remove</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.ClearHandlers">
|
|
<summary>
|
|
Remove all content handlers
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.GetHandler(System.String)">
|
|
<summary>
|
|
Retrieve the handler for the specified MIME content type
|
|
</summary>
|
|
<param name="contentType">MIME content type to retrieve</param>
|
|
<returns>IDeserializer instance</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.BuildUri(RestSharp.IRestRequest)">
|
|
<summary>
|
|
Assembles URL to call based on parameters, method and resource
|
|
</summary>
|
|
<param name="request">RestRequest to execute</param>
|
|
<returns>Assembled System.Uri</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.ExecuteAsync(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle})">
|
|
<summary>
|
|
Executes the request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.ExecuteAsyncGet(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)">
|
|
<summary>
|
|
Executes a GET-style request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
|
|
<param name="httpMethod">The HTTP method to execute</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.ExecuteAsyncPost(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)">
|
|
<summary>
|
|
Executes a POST-style request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
|
|
<param name="httpMethod">The HTTP method to execute</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.ExecuteAsync``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle})">
|
|
<summary>
|
|
Executes the request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<typeparam name="T">Target deserialization type</typeparam>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.ExecuteAsyncGet``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)">
|
|
<summary>
|
|
Executes a GET-style request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<typeparam name="T">Target deserialization type</typeparam>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion</param>
|
|
<param name="httpMethod">The HTTP method to execute</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.ExecuteAsyncPost``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)">
|
|
<summary>
|
|
Executes a POST-style request and callback asynchronously, authenticating if needed
|
|
</summary>
|
|
<typeparam name="T">Target deserialization type</typeparam>
|
|
<param name="request">Request to be executed</param>
|
|
<param name="callback">Callback function to be executed upon completion</param>
|
|
<param name="httpMethod">The HTTP method to execute</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.DownloadData(RestSharp.IRestRequest)">
|
|
<summary>
|
|
Executes the specified request and downloads the response data
|
|
</summary>
|
|
<param name="request">Request to execute</param>
|
|
<returns>Response data</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.Execute(RestSharp.IRestRequest)">
|
|
<summary>
|
|
Executes the request and returns a response, authenticating if needed
|
|
</summary>
|
|
<param name="request">Request to be executed</param>
|
|
<returns>RestResponse</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestClient.Execute``1(RestSharp.IRestRequest)">
|
|
<summary>
|
|
Executes the specified request and deserializes the response content using the appropriate content handler
|
|
</summary>
|
|
<typeparam name="T">Target deserialization type</typeparam>
|
|
<param name="request">Request to execute</param>
|
|
<returns>RestResponse[[T]] with deserialized data in Data property</returns>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.MaxRedirects">
|
|
<summary>
|
|
Maximum number of redirects to follow if FollowRedirects is true
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.ClientCertificates">
|
|
<summary>
|
|
X509CertificateCollection to be sent with request
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.Proxy">
|
|
<summary>
|
|
Proxy to use for requests made by this client instance.
|
|
Passed on to underlying WebRequest if set.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.CachePolicy">
|
|
<summary>
|
|
The cache policy to use for requests initiated by this client instance.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.FollowRedirects">
|
|
<summary>
|
|
Default is true. Determine whether or not requests that result in
|
|
HTTP status codes of 3xx should follow returned redirect
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.CookieContainer">
|
|
<summary>
|
|
The CookieContainer used for requests made by this client instance
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.UserAgent">
|
|
<summary>
|
|
UserAgent to use for requests made by this client instance
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.Timeout">
|
|
<summary>
|
|
Timeout in milliseconds to use for requests made by this client instance
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.ReadWriteTimeout">
|
|
<summary>
|
|
The number of milliseconds before the writing or reading times out.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.UseSynchronizationContext">
|
|
<summary>
|
|
Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.Authenticator">
|
|
<summary>
|
|
Authenticator to use for requests made by this client instance
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.BaseUrl">
|
|
<summary>
|
|
Combined with Request.Resource to construct URL for request
|
|
Should include scheme and domain without trailing slash.
|
|
</summary>
|
|
<example>
|
|
client.BaseUrl = new Uri("http://example.com");
|
|
</example>
|
|
</member>
|
|
<member name="P:RestSharp.RestClient.DefaultParameters">
|
|
<summary>
|
|
Parameters included with every request made with this instance of RestClient
|
|
If specified in both client and request, the request wins
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.RestRequest">
|
|
<summary>
|
|
Container for data used to make requests
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.#ctor">
|
|
<summary>
|
|
Default constructor
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.#ctor(RestSharp.Method)">
|
|
<summary>
|
|
Sets Method property to value of method
|
|
</summary>
|
|
<param name="method">Method to use for this request</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.#ctor(System.String)">
|
|
<summary>
|
|
Sets Resource property
|
|
</summary>
|
|
<param name="resource">Resource to use for this request</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.#ctor(System.String,RestSharp.Method)">
|
|
<summary>
|
|
Sets Resource and Method properties
|
|
</summary>
|
|
<param name="resource">Resource to use for this request</param>
|
|
<param name="method">Method to use for this request</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.#ctor(System.Uri)">
|
|
<summary>
|
|
Sets Resource property
|
|
</summary>
|
|
<param name="resource">Resource to use for this request</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.#ctor(System.Uri,RestSharp.Method)">
|
|
<summary>
|
|
Sets Resource and Method properties
|
|
</summary>
|
|
<param name="resource">Resource to use for this request</param>
|
|
<param name="method">Method to use for this request</param>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddFile(System.String,System.String,System.String)">
|
|
<summary>
|
|
Adds a file to the Files collection to be included with a POST or PUT request
|
|
(other methods do not support file uploads).
|
|
</summary>
|
|
<param name="name">The parameter name to use in the request</param>
|
|
<param name="path">Full path to file to upload</param>
|
|
<param name="contentType">The MIME type of the file to upload</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddFile(System.String,System.Byte[],System.String,System.String)">
|
|
<summary>
|
|
Adds the bytes to the Files collection with the specified file name
|
|
</summary>
|
|
<param name="name">The parameter name to use in the request</param>
|
|
<param name="bytes">The file data</param>
|
|
<param name="fileName">The file name to use for the uploaded file</param>
|
|
<param name="contentType">The MIME type of the file to upload</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddFile(System.String,System.Action{System.IO.Stream},System.String,System.String)">
|
|
<summary>
|
|
Adds the bytes to the Files collection with the specified file name and content type
|
|
</summary>
|
|
<param name="name">The parameter name to use in the request</param>
|
|
<param name="writer">A function that writes directly to the stream. Should NOT close the stream.</param>
|
|
<param name="fileName">The file name to use for the uploaded file</param>
|
|
<param name="contentType">The MIME type of the file to upload</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddFileBytes(System.String,System.Byte[],System.String,System.String)">
|
|
<summary>
|
|
Add bytes to the Files collection as if it was a file of specific type
|
|
</summary>
|
|
<param name="name">A form parameter name</param>
|
|
<param name="bytes">The file data</param>
|
|
<param name="filename">The file name to use for the uploaded file</param>
|
|
<param name="contentType">Specific content type. Es: application/x-gzip </param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddBody(System.Object,System.String)">
|
|
<summary>
|
|
Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
|
|
The default format is XML. Change RequestFormat if you wish to use a different serialization format.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<param name="xmlNamespace">The XML namespace to use when serializing</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddBody(System.Object)">
|
|
<summary>
|
|
Serializes obj to data format specified by RequestFormat and adds it to the request body.
|
|
The default format is XML. Change RequestFormat if you wish to use a different serialization format.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddJsonBody(System.Object)">
|
|
<summary>
|
|
Serializes obj to JSON format and adds it to the request body.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddXmlBody(System.Object)">
|
|
<summary>
|
|
Serializes obj to XML format and adds it to the request body.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddXmlBody(System.Object,System.String)">
|
|
<summary>
|
|
Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
|
|
Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
|
|
</summary>
|
|
<param name="obj">The object to serialize</param>
|
|
<param name="xmlNamespace">The XML namespace to use when serializing</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddObject(System.Object,System.String[])">
|
|
<summary>
|
|
Calls AddParameter() for all public, readable properties specified in the includedProperties list
|
|
</summary>
|
|
<example>
|
|
request.AddObject(product, "ProductId", "Price", ...);
|
|
</example>
|
|
<param name="obj">The object with properties to add as parameters</param>
|
|
<param name="includedProperties">The names of the properties to include</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddObject(System.Object)">
|
|
<summary>
|
|
Calls AddParameter() for all public, readable properties of obj
|
|
</summary>
|
|
<param name="obj">The object with properties to add as parameters</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddParameter(RestSharp.Parameter)">
|
|
<summary>
|
|
Add the parameter to the request
|
|
</summary>
|
|
<param name="p">Parameter to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddParameter(System.String,System.Object)">
|
|
<summary>
|
|
Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
|
|
</summary>
|
|
<param name="name">Name of the parameter</param>
|
|
<param name="value">Value of the parameter</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddParameter(System.String,System.Object,RestSharp.ParameterType)">
|
|
<summary>
|
|
Adds a parameter to the request. There are four types of parameters:
|
|
- GetOrPost: Either a QueryString value or encoded form value based on method
|
|
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
|
|
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
|
|
- RequestBody: Used by AddBody() (not recommended to use directly)
|
|
</summary>
|
|
<param name="name">Name of the parameter</param>
|
|
<param name="value">Value of the parameter</param>
|
|
<param name="type">The type of parameter to add</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddParameter(System.String,System.Object,System.String,RestSharp.ParameterType)">
|
|
<summary>
|
|
Adds a parameter to the request. There are four types of parameters:
|
|
- GetOrPost: Either a QueryString value or encoded form value based on method
|
|
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
|
|
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
|
|
- RequestBody: Used by AddBody() (not recommended to use directly)
|
|
</summary>
|
|
<param name="name">Name of the parameter</param>
|
|
<param name="value">Value of the parameter</param>
|
|
<param name="contentType">Content-Type of the parameter</param>
|
|
<param name="type">The type of parameter to add</param>
|
|
<returns>This request</returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddHeader(System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddParameter(name, value, HttpHeader) overload
|
|
</summary>
|
|
<param name="name">Name of the header to add</param>
|
|
<param name="value">Value of the header to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddCookie(System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddParameter(name, value, Cookie) overload
|
|
</summary>
|
|
<param name="name">Name of the cookie to add</param>
|
|
<param name="value">Value of the cookie to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddUrlSegment(System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddParameter(name, value, UrlSegment) overload
|
|
</summary>
|
|
<param name="name">Name of the segment to add</param>
|
|
<param name="value">Value of the segment to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.AddQueryParameter(System.String,System.String)">
|
|
<summary>
|
|
Shortcut to AddParameter(name, value, QueryString) overload
|
|
</summary>
|
|
<param name="name">Name of the parameter to add</param>
|
|
<param name="value">Value of the parameter to add</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.RestRequest.IncreaseNumAttempts">
|
|
<summary>
|
|
Internal Method so that RestClient can increase the number of attempts
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.AlwaysMultipartFormData">
|
|
<summary>
|
|
Always send a multipart/form-data request - even when no Files are present.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.JsonSerializer">
|
|
<summary>
|
|
Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
|
|
By default the included JsonSerializer is used (currently using JSON.NET default serialization).
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.XmlSerializer">
|
|
<summary>
|
|
Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
|
|
By default the included XmlSerializer is used.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.ResponseWriter">
|
|
<summary>
|
|
Set this to write response to Stream rather than reading into memory.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.UseDefaultCredentials">
|
|
<summary>
|
|
Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
|
|
will be sent along to the server. The default is false.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.Parameters">
|
|
<summary>
|
|
Container of all HTTP parameters to be passed with the request.
|
|
See AddParameter() for explanation of the types of parameters that can be passed
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.Files">
|
|
<summary>
|
|
Container of all the files to be uploaded with the request.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.Method">
|
|
<summary>
|
|
Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
|
|
Default is GET
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.Resource">
|
|
<summary>
|
|
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)
|
|
</summary>
|
|
<example>
|
|
// example for url token replacement
|
|
request.Resource = "Products/{ProductId}";
|
|
request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
|
|
</example>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.RequestFormat">
|
|
<summary>
|
|
Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
|
|
By default XmlSerializer is used.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.RootElement">
|
|
<summary>
|
|
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.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.OnBeforeDeserialization">
|
|
<summary>
|
|
A function to run prior to deserializing starting (e.g. change settings if error encountered)
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.DateFormat">
|
|
<summary>
|
|
Used by the default deserializers to explicitly set which date format string to use when parsing dates.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.XmlNamespace">
|
|
<summary>
|
|
Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.Credentials">
|
|
<summary>
|
|
In general you would not need to set this directly. Used by the NtlmAuthenticator.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.UserState">
|
|
<summary>
|
|
Gets or sets a user-defined state object that contains information about a request and which can be later
|
|
retrieved when the request completes.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.Timeout">
|
|
<summary>
|
|
Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.ReadWriteTimeout">
|
|
<summary>
|
|
The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestRequest.Attempts">
|
|
<summary>
|
|
How many attempts were made to send this Request?
|
|
</summary>
|
|
<remarks>
|
|
This Number is incremented each time the RestClient sends the request.
|
|
Useful when using Asynchronous Execution with Callbacks
|
|
</remarks>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Comment">
|
|
<summary>
|
|
Comment of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.CommentUri">
|
|
<summary>
|
|
Comment of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Discard">
|
|
<summary>
|
|
Indicates whether the cookie should be discarded at the end of the session
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Domain">
|
|
<summary>
|
|
Domain of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Expired">
|
|
<summary>
|
|
Indicates whether the cookie is expired
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Expires">
|
|
<summary>
|
|
Date and time that the cookie expires
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.HttpOnly">
|
|
<summary>
|
|
Indicates that this cookie should only be accessed by the server
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Name">
|
|
<summary>
|
|
Name of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Path">
|
|
<summary>
|
|
Path of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Port">
|
|
<summary>
|
|
Port of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Secure">
|
|
<summary>
|
|
Indicates that the cookie should only be sent over secure channels
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.TimeStamp">
|
|
<summary>
|
|
Date and time the cookie was created
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Value">
|
|
<summary>
|
|
Value of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.RestResponseCookie.Version">
|
|
<summary>
|
|
Version of the cookie
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Deserializers.DotNetXmlDeserializer">
|
|
<summary>
|
|
Wrapper for System.Xml.Serialization.XmlSerializer.
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Serializers.DotNetXmlSerializer">
|
|
<summary>
|
|
Wrapper for System.Xml.Serialization.XmlSerializer.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.DotNetXmlSerializer.#ctor">
|
|
<summary>
|
|
Default constructor, does not specify namespace
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.DotNetXmlSerializer.#ctor(System.String)">
|
|
<summary>
|
|
Specify the namespaced to be used when serializing
|
|
</summary>
|
|
<param name="namespace">XML namespace</param>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.DotNetXmlSerializer.Serialize(System.Object)">
|
|
<summary>
|
|
Serialize the object as XML
|
|
</summary>
|
|
<param name="obj">Object to serialize</param>
|
|
<returns>XML as string</returns>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.RootElement">
|
|
<summary>
|
|
Name of the root element to use when serializing
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.Namespace">
|
|
<summary>
|
|
XML namespace to use when serializing
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.DateFormat">
|
|
<summary>
|
|
Format string to use when serializing dates
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.ContentType">
|
|
<summary>
|
|
Content type for serialized content
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.Encoding">
|
|
<summary>
|
|
Encoding for serialized content
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Serializers.DotNetXmlSerializer.EncodingStringWriter">
|
|
<summary>
|
|
Need to subclass StringWriter in order to override Encoding
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Serializers.JsonSerializer">
|
|
<summary>
|
|
Default JSON serializer for request bodies
|
|
Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.JsonSerializer.#ctor">
|
|
<summary>
|
|
Default serializer
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.JsonSerializer.Serialize(System.Object)">
|
|
<summary>
|
|
Serialize the object as JSON
|
|
</summary>
|
|
<param name="obj">Object to serialize</param>
|
|
<returns>JSON as String</returns>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.JsonSerializer.DateFormat">
|
|
<summary>
|
|
Unused for JSON Serialization
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.JsonSerializer.RootElement">
|
|
<summary>
|
|
Unused for JSON Serialization
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.JsonSerializer.Namespace">
|
|
<summary>
|
|
Unused for JSON Serialization
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.JsonSerializer.ContentType">
|
|
<summary>
|
|
Content type for serialized content
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Serializers.SerializeAsAttribute">
|
|
<summary>
|
|
Allows control how class and property names and values are serialized by XmlSerializer
|
|
Currently not supported with the JsonSerializer
|
|
When specified at the property level the class-level specification is overridden
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.SerializeAsAttribute.TransformName(System.String)">
|
|
<summary>
|
|
Called by the attribute when NameStyle is speficied
|
|
</summary>
|
|
<param name="input">The string to transform</param>
|
|
<returns>String</returns>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.SerializeAsAttribute.Name">
|
|
<summary>
|
|
The name to use for the serialized element
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.SerializeAsAttribute.Attribute">
|
|
<summary>
|
|
Sets the value to be serialized as an Attribute instead of an Element
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.SerializeAsAttribute.Culture">
|
|
<summary>
|
|
The culture to use when serializing
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.SerializeAsAttribute.NameStyle">
|
|
<summary>
|
|
Transforms the casing of the name based on the selected value.
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.SerializeAsAttribute.Index">
|
|
<summary>
|
|
The order to serialize the element. Default is int.MaxValue.
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Serializers.NameStyle">
|
|
<summary>
|
|
Options for transforming casing of element names
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Serializers.XmlSerializer">
|
|
<summary>
|
|
Default XML Serializer
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.XmlSerializer.#ctor">
|
|
<summary>
|
|
Default constructor, does not specify namespace
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.XmlSerializer.#ctor(System.String)">
|
|
<summary>
|
|
Specify the namespaced to be used when serializing
|
|
</summary>
|
|
<param name="namespace">XML namespace</param>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.XmlSerializer.Serialize(System.Object)">
|
|
<summary>
|
|
Serialize the object as XML
|
|
</summary>
|
|
<param name="obj">Object to serialize</param>
|
|
<returns>XML as string</returns>
|
|
</member>
|
|
<member name="M:RestSharp.Serializers.XmlSerializer.IsNumeric(System.Object)">
|
|
<summary>
|
|
Determines if a given object is numeric in any way
|
|
(can be integer, double, null, etc).
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.XmlSerializer.RootElement">
|
|
<summary>
|
|
Name of the root element to use when serializing
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.XmlSerializer.Namespace">
|
|
<summary>
|
|
XML namespace to use when serializing
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.XmlSerializer.DateFormat">
|
|
<summary>
|
|
Format string to use when serializing dates
|
|
</summary>
|
|
</member>
|
|
<member name="P:RestSharp.Serializers.XmlSerializer.ContentType">
|
|
<summary>
|
|
Content type for serialized content
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.JsonArray">
|
|
<summary>
|
|
Represents the json array.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.JsonArray.#ctor">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:RestSharp.JsonArray"/> class.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.JsonArray.#ctor(System.Int32)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:RestSharp.JsonArray"/> class.
|
|
</summary>
|
|
<param name="capacity">The capacity of the json array.</param>
|
|
</member>
|
|
<member name="M:RestSharp.JsonArray.ToString">
|
|
<summary>
|
|
The json representation of the array.
|
|
</summary>
|
|
<returns>The json representation of the array.</returns>
|
|
</member>
|
|
<member name="T:RestSharp.JsonObject">
|
|
<summary>
|
|
Represents the json object.
|
|
</summary>
|
|
</member>
|
|
<member name="F:RestSharp.JsonObject._members">
|
|
<summary>
|
|
The internal member dictionary.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.#ctor">
|
|
<summary>
|
|
Initializes a new instance of <see cref="T:RestSharp.JsonObject"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.#ctor(System.Collections.Generic.IEqualityComparer{System.String})">
|
|
<summary>
|
|
Initializes a new instance of <see cref="T:RestSharp.JsonObject"/>.
|
|
</summary>
|
|
<param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> implementation to use when comparing keys, or null to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1"/> for the type of the key.</param>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.Add(System.String,System.Object)">
|
|
<summary>
|
|
Adds the specified key.
|
|
</summary>
|
|
<param name="key">The key.</param>
|
|
<param name="value">The value.</param>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.ContainsKey(System.String)">
|
|
<summary>
|
|
Determines whether the specified key contains key.
|
|
</summary>
|
|
<param name="key">The key.</param>
|
|
<returns>
|
|
<c>true</c> if the specified key contains key; otherwise, <c>false</c>.
|
|
</returns>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.Remove(System.String)">
|
|
<summary>
|
|
Removes the specified key.
|
|
</summary>
|
|
<param name="key">The key.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.TryGetValue(System.String,System.Object@)">
|
|
<summary>
|
|
Tries the get value.
|
|
</summary>
|
|
<param name="key">The key.</param>
|
|
<param name="value">The value.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.Add(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
|
<summary>
|
|
Adds the specified item.
|
|
</summary>
|
|
<param name="item">The item.</param>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.Clear">
|
|
<summary>
|
|
Clears this instance.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.Contains(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
|
<summary>
|
|
Determines whether [contains] [the specified item].
|
|
</summary>
|
|
<param name="item">The item.</param>
|
|
<returns>
|
|
<c>true</c> if [contains] [the specified item]; otherwise, <c>false</c>.
|
|
</returns>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.CopyTo(System.Collections.Generic.KeyValuePair{System.String,System.Object}[],System.Int32)">
|
|
<summary>
|
|
Copies to.
|
|
</summary>
|
|
<param name="array">The array.</param>
|
|
<param name="arrayIndex">Index of the array.</param>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.Remove(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
|
<summary>
|
|
Removes the specified item.
|
|
</summary>
|
|
<param name="item">The item.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.GetEnumerator">
|
|
<summary>
|
|
Gets the enumerator.
|
|
</summary>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.System#Collections#IEnumerable#GetEnumerator">
|
|
<summary>
|
|
Returns an enumerator that iterates through a collection.
|
|
</summary>
|
|
<returns>
|
|
An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
|
|
</returns>
|
|
</member>
|
|
<member name="M:RestSharp.JsonObject.ToString">
|
|
<summary>
|
|
Returns a json <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
|
|
</summary>
|
|
<returns>
|
|
A json <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
|
|
</returns>
|
|
</member>
|
|
<member name="P:RestSharp.JsonObject.Item(System.Int32)">
|
|
<summary>
|
|
Gets the <see cref="T:System.Object"/> at the specified index.
|
|
</summary>
|
|
<value></value>
|
|
</member>
|
|
<member name="P:RestSharp.JsonObject.Keys">
|
|
<summary>
|
|
Gets the keys.
|
|
</summary>
|
|
<value>The keys.</value>
|
|
</member>
|
|
<member name="P:RestSharp.JsonObject.Values">
|
|
<summary>
|
|
Gets the values.
|
|
</summary>
|
|
<value>The values.</value>
|
|
</member>
|
|
<member name="P:RestSharp.JsonObject.Item(System.String)">
|
|
<summary>
|
|
Gets or sets the <see cref="T:System.Object"/> with the specified key.
|
|
</summary>
|
|
<value></value>
|
|
</member>
|
|
<member name="P:RestSharp.JsonObject.Count">
|
|
<summary>
|
|
Gets the count.
|
|
</summary>
|
|
<value>The count.</value>
|
|
</member>
|
|
<member name="P:RestSharp.JsonObject.IsReadOnly">
|
|
<summary>
|
|
Gets a value indicating whether this instance is read only.
|
|
</summary>
|
|
<value>
|
|
<c>true</c> if this instance is read only; otherwise, <c>false</c>.
|
|
</value>
|
|
</member>
|
|
<member name="T:RestSharp.SimpleJson">
|
|
<summary>
|
|
This class encodes and decodes JSON strings.
|
|
Spec. details, see http://www.json.org/
|
|
|
|
JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
|
|
All numbers are parsed to doubles.
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.SimpleJson.DeserializeObject(System.String)">
|
|
<summary>
|
|
Parses the string json into a value
|
|
</summary>
|
|
<param name="json">A JSON string.</param>
|
|
<returns>An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false</returns>
|
|
</member>
|
|
<member name="M:RestSharp.SimpleJson.TryDeserializeObject(System.String,System.Object@)">
|
|
<summary>
|
|
Try parsing the json string into a value.
|
|
</summary>
|
|
<param name="json">
|
|
A JSON string.
|
|
</param>
|
|
<param name="obj">
|
|
The object.
|
|
</param>
|
|
<returns>
|
|
Returns true if successfull otherwise false.
|
|
</returns>
|
|
</member>
|
|
<member name="M:RestSharp.SimpleJson.SerializeObject(System.Object,RestSharp.IJsonSerializerStrategy)">
|
|
<summary>
|
|
Converts a IDictionary<string,object> / IList<object> object into a JSON string
|
|
</summary>
|
|
<param name="json">A IDictionary<string,object> / IList<object></param>
|
|
<param name="jsonSerializerStrategy">Serializer strategy to use</param>
|
|
<returns>A JSON encoded string, or null if object 'json' is not serializable</returns>
|
|
</member>
|
|
<member name="M:RestSharp.SimpleJson.IsNumeric(System.Object)">
|
|
<summary>
|
|
Determines if a given object is numeric in any way
|
|
(can be integer, double, null, etc).
|
|
</summary>
|
|
</member>
|
|
<member name="T:RestSharp.Validation.Validate">
|
|
<summary>
|
|
Helper methods for validating values
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Validation.Validate.IsBetween(System.Int32,System.Int32,System.Int32)">
|
|
<summary>
|
|
Validate an integer value is between the specified values (exclusive of min/max)
|
|
</summary>
|
|
<param name="value">Value to validate</param>
|
|
<param name="min">Exclusive minimum value</param>
|
|
<param name="max">Exclusive maximum value</param>
|
|
</member>
|
|
<member name="M:RestSharp.Validation.Validate.IsValidLength(System.String,System.Int32)">
|
|
<summary>
|
|
Validate a string length
|
|
</summary>
|
|
<param name="value">String to be validated</param>
|
|
<param name="maxSize">Maximum length of the string</param>
|
|
</member>
|
|
<member name="T:RestSharp.Validation.Require">
|
|
<summary>
|
|
Helper methods for validating required values
|
|
</summary>
|
|
</member>
|
|
<member name="M:RestSharp.Validation.Require.Argument(System.String,System.Object)">
|
|
<summary>
|
|
Require a parameter to not be null
|
|
</summary>
|
|
<param name="argumentName">Name of the parameter</param>
|
|
<param name="argumentValue">Value of the parameter</param>
|
|
</member>
|
|
</members>
|
|
</doc>
|