markus / packages / RestSharp.105.2.3 / lib / net35 / RestSharp.xml @ dc56e95e
이력 | 보기 | 이력해설 | 다운로드 (129 KB)
1 |
<?xml version="1.0"?>
|
---|---|
2 |
<doc>
|
3 |
<assembly>
|
4 |
<name>RestSharp</name> |
5 |
</assembly>
|
6 |
<members>
|
7 |
<member name="T:RestSharp.Authenticators.JwtAuthenticator"> |
8 |
<summary>
|
9 |
JSON WEB TOKEN (JWT) Authenticator class. |
10 |
<remarks>https://tools.ietf.org/html/draft-ietf-oauth-json-web-token</remarks> |
11 |
</summary>
|
12 |
</member>
|
13 |
<member name="T:RestSharp.Authenticators.NtlmAuthenticator"> |
14 |
<summary>
|
15 |
Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user |
16 |
</summary>
|
17 |
</member>
|
18 |
<member name="M:RestSharp.Authenticators.NtlmAuthenticator.#ctor"> |
19 |
<summary>
|
20 |
Authenticate with the credentials of the currently logged in user |
21 |
</summary>
|
22 |
</member>
|
23 |
<member name="M:RestSharp.Authenticators.NtlmAuthenticator.#ctor(System.String,System.String)"> |
24 |
<summary>
|
25 |
Authenticate by impersonation |
26 |
</summary>
|
27 |
<param name="username"></param> |
28 |
<param name="password"></param> |
29 |
</member>
|
30 |
<member name="M:RestSharp.Authenticators.NtlmAuthenticator.#ctor(System.Net.ICredentials)"> |
31 |
<summary>
|
32 |
Authenticate by impersonation, using an existing <c>ICredentials</c> instance |
33 |
</summary>
|
34 |
<param name="credentials"></param> |
35 |
</member>
|
36 |
<member name="T:RestSharp.Authenticators.OAuth1Authenticator"> |
37 |
<seealso href="http://tools.ietf.org/html/rfc5849"/> |
38 |
</member>
|
39 |
<member name="T:RestSharp.Authenticators.OAuth2Authenticator"> |
40 |
<summary>
|
41 |
Base class for OAuth 2 Authenticators. |
42 |
</summary>
|
43 |
<remarks>
|
44 |
Since there are many ways to authenticate in OAuth2, |
45 |
this is used as a base class to differentiate between |
46 |
other authenticators. |
47 |
|
48 |
Any other OAuth2 authenticators must derive from this |
49 |
abstract class. |
50 |
</remarks>
|
51 |
</member>
|
52 |
<member name="F:RestSharp.Authenticators.OAuth2Authenticator.accessToken"> |
53 |
<summary>
|
54 |
Access token to be used when authenticating. |
55 |
</summary>
|
56 |
</member>
|
57 |
<member name="M:RestSharp.Authenticators.OAuth2Authenticator.#ctor(System.String)"> |
58 |
<summary>
|
59 |
Initializes a new instance of the <see cref="T:RestSharp.Authenticators.OAuth2Authenticator"/> class. |
60 |
</summary>
|
61 |
<param name="accessToken"> |
62 |
The access token. |
63 |
</param>
|
64 |
</member>
|
65 |
<member name="P:RestSharp.Authenticators.OAuth2Authenticator.AccessToken"> |
66 |
<summary>
|
67 |
Gets the access token. |
68 |
</summary>
|
69 |
</member>
|
70 |
<member name="T:RestSharp.Authenticators.OAuth2UriQueryParameterAuthenticator"> |
71 |
<summary>
|
72 |
The OAuth 2 authenticator using URI query parameter. |
73 |
</summary>
|
74 |
<remarks>
|
75 |
Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 |
76 |
</remarks>
|
77 |
</member>
|
78 |
<member name="M:RestSharp.Authenticators.OAuth2UriQueryParameterAuthenticator.#ctor(System.String)"> |
79 |
<summary>
|
80 |
Initializes a new instance of the <see cref="T:RestSharp.Authenticators.OAuth2UriQueryParameterAuthenticator"/> class. |
81 |
</summary>
|
82 |
<param name="accessToken"> |
83 |
The access token. |
84 |
</param>
|
85 |
</member>
|
86 |
<member name="T:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator"> |
87 |
<summary>
|
88 |
The OAuth 2 authenticator using the authorization request header field. |
89 |
</summary>
|
90 |
<remarks>
|
91 |
Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 |
92 |
</remarks>
|
93 |
</member>
|
94 |
<member name="F:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator.authorizationValue"> |
95 |
<summary>
|
96 |
Stores the Authorization header value as "[tokenType] accessToken". used for performance. |
97 |
</summary>
|
98 |
</member>
|
99 |
<member name="M:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator.#ctor(System.String)"> |
100 |
<summary>
|
101 |
Initializes a new instance of the <see cref="T:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator"/> class. |
102 |
</summary>
|
103 |
<param name="accessToken"> |
104 |
The access token. |
105 |
</param>
|
106 |
</member>
|
107 |
<member name="M:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator.#ctor(System.String,System.String)"> |
108 |
<summary>
|
109 |
Initializes a new instance of the <see cref="T:RestSharp.Authenticators.OAuth2AuthorizationRequestHeaderAuthenticator"/> class. |
110 |
</summary>
|
111 |
<param name="accessToken"> |
112 |
The access token. |
113 |
</param>
|
114 |
<param name="tokenType"> |
115 |
The token type. |
116 |
</param>
|
117 |
</member>
|
118 |
<member name="F:RestSharp.Authenticators.OAuth.OAuthTools.encoding"> |
119 |
<summary>
|
120 |
All text parameters are UTF-8 encoded (per section 5.1). |
121 |
</summary>
|
122 |
<seealso cref="!:http://www.hueniverse.com/hueniverse/2008/10/beginners-gui-1.html"/> |
123 |
</member>
|
124 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetNonce"> |
125 |
<summary>
|
126 |
Generates a random 16-byte lowercase alphanumeric string. |
127 |
</summary>
|
128 |
<seealso cref="!:http://oauth.net/core/1.0#nonce"/> |
129 |
<returns></returns> |
130 |
</member>
|
131 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetTimestamp"> |
132 |
<summary>
|
133 |
Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" |
134 |
</summary>
|
135 |
<seealso cref="!:http://oauth.net/core/1.0#nonce"/> |
136 |
<returns></returns> |
137 |
</member>
|
138 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetTimestamp(System.DateTime)"> |
139 |
<summary>
|
140 |
Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" |
141 |
</summary>
|
142 |
<seealso cref="!:http://oauth.net/core/1.0#nonce"/> |
143 |
<param name="dateTime">A specified point in time.</param> |
144 |
<returns></returns> |
145 |
</member>
|
146 |
<member name="F:RestSharp.Authenticators.OAuth.OAuthTools.uriRfc3986CharsToEscape"> |
147 |
<summary>
|
148 |
The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. |
149 |
</summary>
|
150 |
<seealso cref="!:http://stackoverflow.com/questions/846487/how-to-get-uri-escapedatastring-to-comply-with-rfc-3986"/> |
151 |
</member>
|
152 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.UrlEncodeRelaxed(System.String)"> |
153 |
<summary>
|
154 |
URL encodes a string based on section 5.1 of the OAuth spec. |
155 |
Namely, percent encoding with [RFC3986], avoiding unreserved characters, |
156 |
upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. |
157 |
</summary>
|
158 |
<param name="value">The value to escape.</param> |
159 |
<returns>The escaped value.</returns> |
160 |
<remarks>
|
161 |
The <see cref="M:System.Uri.EscapeDataString(System.String)"/> method is <i>supposed</i> to take on |
162 |
RFC 3986 behavior if certain elements are present in a .config file. Even if this |
163 |
actually worked (which in my experiments it <i>doesn't</i>), we can't rely on every |
164 |
host actually having this configuration element present. |
165 |
</remarks>
|
166 |
<seealso cref="!:http://oauth.net/core/1.0#encoding_parameters"/> |
167 |
<seealso cref="!:http://stackoverflow.com/questions/846487/how-to-get-uri-escapedatastring-to-comply-with-rfc-3986"/> |
168 |
</member>
|
169 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.UrlEncodeStrict(System.String)"> |
170 |
<summary>
|
171 |
URL encodes a string based on section 5.1 of the OAuth spec. |
172 |
Namely, percent encoding with [RFC3986], avoiding unreserved characters, |
173 |
upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. |
174 |
</summary>
|
175 |
<param name="value"></param> |
176 |
<seealso cref="!:http://oauth.net/core/1.0#encoding_parameters"/> |
177 |
</member>
|
178 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.NormalizeRequestParameters(RestSharp.Authenticators.OAuth.WebParameterCollection)"> |
179 |
<summary>
|
180 |
Sorts a collection of key-value pairs by name, and then value if equal, |
181 |
concatenating them into a single string. This string should be encoded |
182 |
prior to, or after normalization is run. |
183 |
</summary>
|
184 |
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.1"/> |
185 |
<param name="parameters"></param> |
186 |
<returns></returns> |
187 |
</member>
|
188 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.SortParametersExcludingSignature(RestSharp.Authenticators.OAuth.WebParameterCollection)"> |
189 |
<summary>
|
190 |
Sorts a <see cref="T:RestSharp.Authenticators.OAuth.WebParameterCollection"/> by name, and then value if equal. |
191 |
</summary>
|
192 |
<param name="parameters">A collection of parameters to sort</param> |
193 |
<returns>A sorted parameter collection</returns> |
194 |
</member>
|
195 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.ConstructRequestUrl(System.Uri)"> |
196 |
<summary>
|
197 |
Creates a request URL suitable for making OAuth requests. |
198 |
Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. |
199 |
Resulting URLs must be lower case. |
200 |
</summary>
|
201 |
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.2"/> |
202 |
<param name="url">The original request URL</param> |
203 |
<returns></returns> |
204 |
</member>
|
205 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.ConcatenateRequestElements(System.String,System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)"> |
206 |
<summary>
|
207 |
Creates a request elements concatentation value to send with a request. |
208 |
This is also known as the signature base. |
209 |
</summary>
|
210 |
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.3"/> |
211 |
<seealso cref="!:http://oauth.net/core/1.0#sig_base_example"/> |
212 |
<param name="method">The request's HTTP method type</param> |
213 |
<param name="url">The request URL</param> |
214 |
<param name="parameters">The request's parameters</param> |
215 |
<returns>A signature base string</returns> |
216 |
</member>
|
217 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,System.String,System.String)"> |
218 |
<summary>
|
219 |
Creates a signature value given a signature base and the consumer secret. |
220 |
This method is used when the token secret is currently unknown. |
221 |
</summary>
|
222 |
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/> |
223 |
<param name="signatureMethod">The hashing method</param> |
224 |
<param name="signatureBase">The signature base</param> |
225 |
<param name="consumerSecret">The consumer key</param> |
226 |
<returns></returns> |
227 |
</member>
|
228 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,RestSharp.Authenticators.OAuth.OAuthSignatureTreatment,System.String,System.String)"> |
229 |
<summary>
|
230 |
Creates a signature value given a signature base and the consumer secret. |
231 |
This method is used when the token secret is currently unknown. |
232 |
</summary>
|
233 |
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/> |
234 |
<param name="signatureMethod">The hashing method</param> |
235 |
<param name="signatureTreatment">The treatment to use on a signature value</param> |
236 |
<param name="signatureBase">The signature base</param> |
237 |
<param name="consumerSecret">The consumer key</param> |
238 |
<returns></returns> |
239 |
</member>
|
240 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,System.String,System.String,System.String)"> |
241 |
<summary>
|
242 |
Creates a signature value given a signature base and the consumer secret and a known token secret. |
243 |
</summary>
|
244 |
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/> |
245 |
<param name="signatureMethod">The hashing method</param> |
246 |
<param name="signatureBase">The signature base</param> |
247 |
<param name="consumerSecret">The consumer secret</param> |
248 |
<param name="tokenSecret">The token secret</param> |
249 |
<returns></returns> |
250 |
</member>
|
251 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,RestSharp.Authenticators.OAuth.OAuthSignatureTreatment,System.String,System.String,System.String)"> |
252 |
<summary>
|
253 |
Creates a signature value given a signature base and the consumer secret and a known token secret. |
254 |
</summary>
|
255 |
<seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/> |
256 |
<param name="signatureMethod">The hashing method</param> |
257 |
<param name="signatureTreatment">The treatment to use on a signature value</param> |
258 |
<param name="signatureBase">The signature base</param> |
259 |
<param name="consumerSecret">The consumer secret</param> |
260 |
<param name="tokenSecret">The token secret</param> |
261 |
<returns></returns> |
262 |
</member>
|
263 |
<member name="T:RestSharp.Authenticators.OAuth.OAuthWorkflow"> |
264 |
<summary>
|
265 |
A class to encapsulate OAuth authentication flow. |
266 |
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/> |
267 |
</summary>
|
268 |
</member>
|
269 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildRequestTokenInfo(System.String)"> |
270 |
<summary>
|
271 |
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an |
272 |
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of requesting an |
273 |
unauthorized request token. |
274 |
</summary>
|
275 |
<param name="method">The HTTP method for the intended request</param> |
276 |
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/> |
277 |
<returns></returns> |
278 |
</member>
|
279 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildRequestTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)"> |
280 |
<summary>
|
281 |
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an |
282 |
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of requesting an |
283 |
unauthorized request token. |
284 |
</summary>
|
285 |
<param name="method">The HTTP method for the intended request</param> |
286 |
<param name="parameters">Any existing, non-OAuth query parameters desired in the request</param> |
287 |
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/> |
288 |
<returns></returns> |
289 |
</member>
|
290 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildAccessTokenInfo(System.String)"> |
291 |
<summary>
|
292 |
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an |
293 |
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of exchanging a request token |
294 |
for an access token authorized by the user at the Service Provider site. |
295 |
</summary>
|
296 |
<param name="method">The HTTP method for the intended request</param> |
297 |
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/> |
298 |
</member>
|
299 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildAccessTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)"> |
300 |
<summary>
|
301 |
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an |
302 |
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of exchanging a request token |
303 |
for an access token authorized by the user at the Service Provider site. |
304 |
</summary>
|
305 |
<param name="method">The HTTP method for the intended request</param> |
306 |
<seealso cref="!:http://oauth.net/core/1.0#anchor9"/> |
307 |
<param name="parameters">Any existing, non-OAuth query parameters desired in the request</param> |
308 |
</member>
|
309 |
<member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildClientAuthAccessTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)"> |
310 |
<summary>
|
311 |
Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an |
312 |
<see cref="T:RestSharp.Authenticators.IAuthenticator"/> for the purpose of exchanging user credentials |
313 |
for an access token authorized by the user at the Service Provider site. |
314 |
</summary>
|
315 |
<param name="method">The HTTP method for the intended request</param> |
316 |
<seealso cref="!:http://tools.ietf.org/html/draft-dehora-farrell-oauth-accesstoken-creds-00#section-4"/> |
317 |
<param name="parameters">Any existing, non-OAuth query parameters desired in the request</param> |
318 |
</member>
|
319 |
<member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.RequestTokenUrl"> |
320 |
<seealso cref="!:http://oauth.net/core/1.0#request_urls"/> |
321 |
</member>
|
322 |
<member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.AccessTokenUrl"> |
323 |
<seealso cref="!:http://oauth.net/core/1.0#request_urls"/> |
324 |
</member>
|
325 |
<member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.AuthorizationUrl"> |
326 |
<seealso cref="!:http://oauth.net/core/1.0#request_urls"/> |
327 |
</member>
|
328 |
<member name="T:RestSharp.Deserializers.DeserializeAsAttribute"> |
329 |
<summary>
|
330 |
Allows control how class and property names and values are deserialized by XmlAttributeDeserializer |
331 |
</summary>
|
332 |
</member>
|
333 |
<member name="P:RestSharp.Deserializers.DeserializeAsAttribute.Name"> |
334 |
<summary>
|
335 |
The name to use for the serialized element |
336 |
</summary>
|
337 |
</member>
|
338 |
<member name="P:RestSharp.Deserializers.DeserializeAsAttribute.Attribute"> |
339 |
<summary>
|
340 |
Sets if the property to Deserialize is an Attribute or Element (Default: false) |
341 |
</summary>
|
342 |
</member>
|
343 |
<member name="M:RestSharp.Extensions.MonoHttp.HttpUtility.HtmlDecode(System.String)"> |
344 |
<summary>
|
345 |
Decodes an HTML-encoded string and returns the decoded string. |
346 |
</summary>
|
347 |
<param name="s">The HTML string to decode. </param> |
348 |
<returns>The decoded text.</returns> |
349 |
</member>
|
350 |
<member name="M:RestSharp.Extensions.MonoHttp.HttpUtility.HtmlDecode(System.String,System.IO.TextWriter)"> |
351 |
<summary>
|
352 |
Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. |
353 |
</summary>
|
354 |
<param name="s">The HTML string to decode</param> |
355 |
<param name="output">The TextWriter output stream containing the decoded string. </param> |
356 |
</member>
|
357 |
<member name="M:RestSharp.Extensions.MonoHttp.HttpUtility.HtmlEncode(System.String,System.IO.TextWriter)"> |
358 |
<summary>
|
359 |
HTML-encodes a string and sends the resulting output to a TextWriter output stream. |
360 |
</summary>
|
361 |
<param name="s">The string to encode. </param> |
362 |
<param name="output">The TextWriter output stream containing the encoded string. </param> |
363 |
</member>
|
364 |
<member name="M:RestSharp.Extensions.ResponseStatusExtensions.ToWebException(RestSharp.ResponseStatus)"> |
365 |
<summary>
|
366 |
Convert a <see cref="T:RestSharp.ResponseStatus"/> to a <see cref="T:System.Net.WebException"/> instance. |
367 |
</summary>
|
368 |
<param name="responseStatus">The response status.</param> |
369 |
<returns></returns> |
370 |
<exception cref="T:System.ArgumentOutOfRangeException">responseStatus</exception> |
371 |
</member>
|
372 |
<member name="M:RestSharp.RestClientExtensions.ExecuteAsync(RestSharp.IRestClient,RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse})"> |
373 |
<summary>
|
374 |
Executes the request and callback asynchronously, authenticating if needed |
375 |
</summary>
|
376 |
<param name="client">The IRestClient this method extends</param> |
377 |
<param name="request">Request to be executed</param> |
378 |
<param name="callback">Callback function to be executed upon completion</param> |
379 |
</member>
|
380 |
<member name="M:RestSharp.RestClientExtensions.ExecuteAsync``1(RestSharp.IRestClient,RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0}})"> |
381 |
<summary>
|
382 |
Executes the request and callback asynchronously, authenticating if needed |
383 |
</summary>
|
384 |
<param name="client">The IRestClient this method extends</param> |
385 |
<typeparam name="T">Target deserialization type</typeparam> |
386 |
<param name="request">Request to be executed</param> |
387 |
<param name="callback">Callback function to be executed upon completion providing access to the async handle</param> |
388 |
</member>
|
389 |
<member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,RestSharp.Parameter)"> |
390 |
<summary>
|
391 |
Add a parameter to use on every request made with this client instance |
392 |
</summary>
|
393 |
<param name="restClient">The IRestClient instance</param> |
394 |
<param name="p">Parameter to add</param> |
395 |
<returns></returns> |
396 |
</member>
|
397 |
<member name="M:RestSharp.RestClientExtensions.RemoveDefaultParameter(RestSharp.IRestClient,System.String)"> |
398 |
<summary>
|
399 |
Removes a parameter from the default parameters that are used on every request made with this client instance |
400 |
</summary>
|
401 |
<param name="restClient">The IRestClient instance</param> |
402 |
<param name="name">The name of the parameter that needs to be removed</param> |
403 |
<returns></returns> |
404 |
</member>
|
405 |
<member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,System.String,System.Object)"> |
406 |
<summary>
|
407 |
Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) |
408 |
Used on every request made by this client instance |
409 |
</summary>
|
410 |
<param name="restClient">The IRestClient instance</param> |
411 |
<param name="name">Name of the parameter</param> |
412 |
<param name="value">Value of the parameter</param> |
413 |
<returns>This request</returns> |
414 |
</member>
|
415 |
<member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,System.String,System.Object,RestSharp.ParameterType)"> |
416 |
<summary>
|
417 |
Adds a parameter to the request. There are four types of parameters: |
418 |
- GetOrPost: Either a QueryString value or encoded form value based on method |
419 |
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection |
420 |
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} |
421 |
- RequestBody: Used by AddBody() (not recommended to use directly) |
422 |
</summary>
|
423 |
<param name="restClient">The IRestClient instance</param> |
424 |
<param name="name">Name of the parameter</param> |
425 |
<param name="value">Value of the parameter</param> |
426 |
<param name="type">The type of parameter to add</param> |
427 |
<returns>This request</returns> |
428 |
</member>
|
429 |
<member name="M:RestSharp.RestClientExtensions.AddDefaultHeader(RestSharp.IRestClient,System.String,System.String)"> |
430 |
<summary>
|
431 |
Shortcut to AddDefaultParameter(name, value, HttpHeader) overload |
432 |
</summary>
|
433 |
<param name="restClient">The IRestClient instance</param> |
434 |
<param name="name">Name of the header to add</param> |
435 |
<param name="value">Value of the header to add</param> |
436 |
<returns></returns> |
437 |
</member>
|
438 |
<member name="M:RestSharp.RestClientExtensions.AddDefaultUrlSegment(RestSharp.IRestClient,System.String,System.String)"> |
439 |
<summary>
|
440 |
Shortcut to AddDefaultParameter(name, value, UrlSegment) overload |
441 |
</summary>
|
442 |
<param name="restClient">The IRestClient instance</param> |
443 |
<param name="name">Name of the segment to add</param> |
444 |
<param name="value">Value of the segment to add</param> |
445 |
<returns></returns> |
446 |
</member>
|
447 |
<member name="M:RestSharp.Extensions.StringExtensions.UrlEncode(System.String)"> |
448 |
<summary>
|
449 |
Uses Uri.EscapeDataString() based on recommendations on MSDN |
450 |
http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx |
451 |
</summary>
|
452 |
</member>
|
453 |
<member name="M:RestSharp.Extensions.StringExtensions.HasValue(System.String)"> |
454 |
<summary>
|
455 |
Check that a string is not null or empty |
456 |
</summary>
|
457 |
<param name="input">String to check</param> |
458 |
<returns>bool</returns> |
459 |
</member>
|
460 |
<member name="M:RestSharp.Extensions.StringExtensions.RemoveUnderscoresAndDashes(System.String)"> |
461 |
<summary>
|
462 |
Remove underscores from a string |
463 |
</summary>
|
464 |
<param name="input">String to process</param> |
465 |
<returns>string</returns> |
466 |
</member>
|
467 |
<member name="M:RestSharp.Extensions.StringExtensions.ParseJsonDate(System.String,System.Globalization.CultureInfo)"> |
468 |
<summary>
|
469 |
Parses most common JSON date formats |
470 |
</summary>
|
471 |
<param name="input">JSON value to parse</param> |
472 |
<param name="culture"></param> |
473 |
<returns>DateTime</returns> |
474 |
</member>
|
475 |
<member name="M:RestSharp.Extensions.StringExtensions.RemoveSurroundingQuotes(System.String)"> |
476 |
<summary>
|
477 |
Remove leading and trailing " from a string |
478 |
</summary>
|
479 |
<param name="input">String to parse</param> |
480 |
<returns>String</returns> |
481 |
</member>
|
482 |
<member name="M:RestSharp.Extensions.StringExtensions.Matches(System.String,System.String)"> |
483 |
<summary>
|
484 |
Checks a string to see if it matches a regex |
485 |
</summary>
|
486 |
<param name="input">String to check</param> |
487 |
<param name="pattern">Pattern to match</param> |
488 |
<returns>bool</returns> |
489 |
</member>
|
490 |
<member name="M:RestSharp.Extensions.StringExtensions.ToPascalCase(System.String,System.Globalization.CultureInfo)"> |
491 |
<summary>
|
492 |
Converts a string to pascal case |
493 |
</summary>
|
494 |
<param name="lowercaseAndUnderscoredWord">String to convert</param> |
495 |
<param name="culture"></param> |
496 |
<returns>string</returns> |
497 |
</member>
|
498 |
<member name="M:RestSharp.Extensions.StringExtensions.ToPascalCase(System.String,System.Boolean,System.Globalization.CultureInfo)"> |
499 |
<summary>
|
500 |
Converts a string to pascal case with the option to remove underscores |
501 |
</summary>
|
502 |
<param name="text">String to convert</param> |
503 |
<param name="removeUnderscores">Option to remove underscores</param> |
504 |
<param name="culture"></param> |
505 |
<returns></returns> |
506 |
</member>
|
507 |
<member name="M:RestSharp.Extensions.StringExtensions.ToCamelCase(System.String,System.Globalization.CultureInfo)"> |
508 |
<summary>
|
509 |
Converts a string to camel case |
510 |
</summary>
|
511 |
<param name="lowercaseAndUnderscoredWord">String to convert</param> |
512 |
<param name="culture"></param> |
513 |
<returns>String</returns> |
514 |
</member>
|
515 |
<member name="M:RestSharp.Extensions.StringExtensions.MakeInitialLowerCase(System.String)"> |
516 |
<summary>
|
517 |
Convert the first letter of a string to lower case |
518 |
</summary>
|
519 |
<param name="word">String to convert</param> |
520 |
<returns>string</returns> |
521 |
</member>
|
522 |
<member name="M:RestSharp.Extensions.StringExtensions.IsUpperCase(System.String)"> |
523 |
<summary>
|
524 |
Checks to see if a string is all uppper case |
525 |
</summary>
|
526 |
<param name="inputString">String to check</param> |
527 |
<returns>bool</returns> |
528 |
</member>
|
529 |
<member name="M:RestSharp.Extensions.StringExtensions.AddUnderscores(System.String)"> |
530 |
<summary>
|
531 |
Add underscores to a pascal-cased string |
532 |
</summary>
|
533 |
<param name="pascalCasedWord">String to convert</param> |
534 |
<returns>string</returns> |
535 |
</member>
|
536 |
<member name="M:RestSharp.Extensions.StringExtensions.AddDashes(System.String)"> |
537 |
<summary>
|
538 |
Add dashes to a pascal-cased string |
539 |
</summary>
|
540 |
<param name="pascalCasedWord">String to convert</param> |
541 |
<returns>string</returns> |
542 |
</member>
|
543 |
<member name="M:RestSharp.Extensions.StringExtensions.AddUnderscorePrefix(System.String)"> |
544 |
<summary>
|
545 |
Add an undescore prefix to a pascasl-cased string |
546 |
</summary>
|
547 |
<param name="pascalCasedWord"></param> |
548 |
<returns></returns> |
549 |
</member>
|
550 |
<member name="M:RestSharp.Extensions.StringExtensions.AddSpaces(System.String)"> |
551 |
<summary>
|
552 |
Add spaces to a pascal-cased string |
553 |
</summary>
|
554 |
<param name="pascalCasedWord">String to convert</param> |
555 |
<returns>string</returns> |
556 |
</member>
|
557 |
<member name="M:RestSharp.Extensions.StringExtensions.GetNameVariants(System.String,System.Globalization.CultureInfo)"> |
558 |
<summary>
|
559 |
Return possible variants of a name for name matching. |
560 |
</summary>
|
561 |
<param name="name">String to convert</param> |
562 |
<param name="culture">The culture to use for conversion</param> |
563 |
<returns>IEnumerable<string></returns> |
564 |
</member>
|
565 |
<member name="T:RestSharp.Http"> |
566 |
<summary>
|
567 |
HttpWebRequest wrapper (sync methods) |
568 |
</summary>
|
569 |
<summary>
|
570 |
HttpWebRequest wrapper |
571 |
</summary>
|
572 |
<summary>
|
573 |
HttpWebRequest wrapper (async methods) |
574 |
</summary>
|
575 |
</member>
|
576 |
<member name="P:RestSharp.IHttp.AlwaysMultipartFormData"> |
577 |
<summary>
|
578 |
Always send a multipart/form-data request - even when no Files are present. |
579 |
</summary>
|
580 |
</member>
|
581 |
<member name="P:RestSharp.IHttp.RequestBodyBytes"> |
582 |
<summary>
|
583 |
An alternative to RequestBody, for when the caller already has the byte array. |
584 |
</summary>
|
585 |
</member>
|
586 |
<member name="M:RestSharp.Http.Post"> |
587 |
<summary>
|
588 |
Execute a POST request |
589 |
</summary>
|
590 |
</member>
|
591 |
<member name="M:RestSharp.Http.Put"> |
592 |
<summary>
|
593 |
Execute a PUT request |
594 |
</summary>
|
595 |
</member>
|
596 |
<member name="M:RestSharp.Http.Get"> |
597 |
<summary>
|
598 |
Execute a GET request |
599 |
</summary>
|
600 |
</member>
|
601 |
<member name="M:RestSharp.Http.Head"> |
602 |
<summary>
|
603 |
Execute a HEAD request |
604 |
</summary>
|
605 |
</member>
|
606 |
<member name="M:RestSharp.Http.Options"> |
607 |
<summary>
|
608 |
Execute an OPTIONS request |
609 |
</summary>
|
610 |
</member>
|
611 |
<member name="M:RestSharp.Http.Delete"> |
612 |
<summary>
|
613 |
Execute a DELETE request |
614 |
</summary>
|
615 |
</member>
|
616 |
<member name="M:RestSharp.Http.Patch"> |
617 |
<summary>
|
618 |
Execute a PATCH request |
619 |
</summary>
|
620 |
</member>
|
621 |
<member name="M:RestSharp.Http.Merge"> |
622 |
<summary>
|
623 |
Execute a MERGE request |
624 |
</summary>
|
625 |
</member>
|
626 |
<member name="M:RestSharp.Http.AsGet(System.String)"> |
627 |
<summary>
|
628 |
Execute a GET-style request with the specified HTTP Method. |
629 |
</summary>
|
630 |
<param name="httpMethod">The HTTP method to execute.</param> |
631 |
<returns></returns> |
632 |
</member>
|
633 |
<member name="M:RestSharp.Http.AsPost(System.String)"> |
634 |
<summary>
|
635 |
Execute a POST-style request with the specified HTTP Method. |
636 |
</summary>
|
637 |
<param name="httpMethod">The HTTP method to execute.</param> |
638 |
<returns></returns> |
639 |
</member>
|
640 |
<member name="M:RestSharp.Http.Create"> |
641 |
<summary>
|
642 |
Creates an IHttp |
643 |
</summary>
|
644 |
<returns></returns> |
645 |
</member>
|
646 |
<member name="M:RestSharp.Http.#ctor"> |
647 |
<summary>
|
648 |
Default constructor |
649 |
</summary>
|
650 |
</member>
|
651 |
<member name="M:RestSharp.Http.AsPostAsync(System.Action{RestSharp.HttpResponse},System.String)"> |
652 |
<summary>
|
653 |
Execute an async POST-style request with the specified HTTP Method. |
654 |
</summary>
|
655 |
<param name="action"></param> |
656 |
<param name="httpMethod">The HTTP method to execute.</param> |
657 |
<returns></returns> |
658 |
</member>
|
659 |
<member name="M:RestSharp.Http.AsGetAsync(System.Action{RestSharp.HttpResponse},System.String)"> |
660 |
<summary>
|
661 |
Execute an async GET-style request with the specified HTTP Method. |
662 |
</summary>
|
663 |
<param name="action"></param> |
664 |
<param name="httpMethod">The HTTP method to execute.</param> |
665 |
<returns></returns> |
666 |
</member>
|
667 |
<member name="P:RestSharp.Http.HasParameters"> |
668 |
<summary>
|
669 |
True if this HTTP request has any HTTP parameters |
670 |
</summary>
|
671 |
</member>
|
672 |
<member name="P:RestSharp.Http.HasCookies"> |
673 |
<summary>
|
674 |
True if this HTTP request has any HTTP cookies |
675 |
</summary>
|
676 |
</member>
|
677 |
<member name="P:RestSharp.Http.HasBody"> |
678 |
<summary>
|
679 |
True if a request body has been specified |
680 |
</summary>
|
681 |
</member>
|
682 |
<member name="P:RestSharp.Http.HasFiles"> |
683 |
<summary>
|
684 |
True if files have been set to be uploaded |
685 |
</summary>
|
686 |
</member>
|
687 |
<member name="P:RestSharp.Http.AlwaysMultipartFormData"> |
688 |
<summary>
|
689 |
Always send a multipart/form-data request - even when no Files are present. |
690 |
</summary>
|
691 |
</member>
|
692 |
<member name="P:RestSharp.Http.UserAgent"> |
693 |
<summary>
|
694 |
UserAgent to be sent with request |
695 |
</summary>
|
696 |
</member>
|
697 |
<member name="P:RestSharp.Http.Timeout"> |
698 |
<summary>
|
699 |
Timeout in milliseconds to be used for the request |
700 |
</summary>
|
701 |
</member>
|
702 |
<member name="P:RestSharp.Http.ReadWriteTimeout"> |
703 |
<summary>
|
704 |
The number of milliseconds before the writing or reading times out. |
705 |
</summary>
|
706 |
</member>
|
707 |
<member name="P:RestSharp.Http.Credentials"> |
708 |
<summary>
|
709 |
System.Net.ICredentials to be sent with request |
710 |
</summary>
|
711 |
</member>
|
712 |
<member name="P:RestSharp.Http.CookieContainer"> |
713 |
<summary>
|
714 |
The System.Net.CookieContainer to be used for the request |
715 |
</summary>
|
716 |
</member>
|
717 |
<member name="P:RestSharp.Http.ResponseWriter"> |
718 |
<summary>
|
719 |
The method to use to write the response instead of reading into RawBytes |
720 |
</summary>
|
721 |
</member>
|
722 |
<member name="P:RestSharp.Http.Files"> |
723 |
<summary>
|
724 |
Collection of files to be sent with request |
725 |
</summary>
|
726 |
</member>
|
727 |
<member name="P:RestSharp.Http.FollowRedirects"> |
728 |
<summary>
|
729 |
Whether or not HTTP 3xx response redirects should be automatically followed |
730 |
</summary>
|
731 |
</member>
|
732 |
<member name="P:RestSharp.Http.ClientCertificates"> |
733 |
<summary>
|
734 |
X509CertificateCollection to be sent with request |
735 |
</summary>
|
736 |
</member>
|
737 |
<member name="P:RestSharp.Http.MaxRedirects"> |
738 |
<summary>
|
739 |
Maximum number of automatic redirects to follow if FollowRedirects is true |
740 |
</summary>
|
741 |
</member>
|
742 |
<member name="P:RestSharp.Http.UseDefaultCredentials"> |
743 |
<summary>
|
744 |
Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) |
745 |
will be sent along to the server. |
746 |
</summary>
|
747 |
</member>
|
748 |
<member name="P:RestSharp.Http.Headers"> |
749 |
<summary>
|
750 |
HTTP headers to be sent with request |
751 |
</summary>
|
752 |
</member>
|
753 |
<member name="P:RestSharp.Http.Parameters"> |
754 |
<summary>
|
755 |
HTTP parameters (QueryString or Form values) to be sent with request |
756 |
</summary>
|
757 |
</member>
|
758 |
<member name="P:RestSharp.Http.Cookies"> |
759 |
<summary>
|
760 |
HTTP cookies to be sent with request |
761 |
</summary>
|
762 |
</member>
|
763 |
<member name="P:RestSharp.Http.RequestBody"> |
764 |
<summary>
|
765 |
Request body to be sent with request |
766 |
</summary>
|
767 |
</member>
|
768 |
<member name="P:RestSharp.Http.RequestContentType"> |
769 |
<summary>
|
770 |
Content type of the request body. |
771 |
</summary>
|
772 |
</member>
|
773 |
<member name="P:RestSharp.Http.RequestBodyBytes"> |
774 |
<summary>
|
775 |
An alternative to RequestBody, for when the caller already has the byte array. |
776 |
</summary>
|
777 |
</member>
|
778 |
<member name="P:RestSharp.Http.Url"> |
779 |
<summary>
|
780 |
URL to call for this request |
781 |
</summary>
|
782 |
</member>
|
783 |
<member name="P:RestSharp.Http.PreAuthenticate"> |
784 |
<summary>
|
785 |
Flag to send authorisation header with the HttpWebRequest |
786 |
</summary>
|
787 |
</member>
|
788 |
<member name="P:RestSharp.Http.Proxy"> |
789 |
<summary>
|
790 |
Proxy info to be sent with request |
791 |
</summary>
|
792 |
</member>
|
793 |
<member name="P:RestSharp.Http.CachePolicy"> |
794 |
<summary>
|
795 |
Caching policy for requests created with this wrapper. |
796 |
</summary>
|
797 |
</member>
|
798 |
<member name="T:RestSharp.HttpCookie"> |
799 |
<summary>
|
800 |
Representation of an HTTP cookie |
801 |
</summary>
|
802 |
</member>
|
803 |
<member name="P:RestSharp.HttpCookie.Comment"> |
804 |
<summary>
|
805 |
Comment of the cookie |
806 |
</summary>
|
807 |
</member>
|
808 |
<member name="P:RestSharp.HttpCookie.CommentUri"> |
809 |
<summary>
|
810 |
Comment of the cookie |
811 |
</summary>
|
812 |
</member>
|
813 |
<member name="P:RestSharp.HttpCookie.Discard"> |
814 |
<summary>
|
815 |
Indicates whether the cookie should be discarded at the end of the session |
816 |
</summary>
|
817 |
</member>
|
818 |
<member name="P:RestSharp.HttpCookie.Domain"> |
819 |
<summary>
|
820 |
Domain of the cookie |
821 |
</summary>
|
822 |
</member>
|
823 |
<member name="P:RestSharp.HttpCookie.Expired"> |
824 |
<summary>
|
825 |
Indicates whether the cookie is expired |
826 |
</summary>
|
827 |
</member>
|
828 |
<member name="P:RestSharp.HttpCookie.Expires"> |
829 |
<summary>
|
830 |
Date and time that the cookie expires |
831 |
</summary>
|
832 |
</member>
|
833 |
<member name="P:RestSharp.HttpCookie.HttpOnly"> |
834 |
<summary>
|
835 |
Indicates that this cookie should only be accessed by the server |
836 |
</summary>
|
837 |
</member>
|
838 |
<member name="P:RestSharp.HttpCookie.Name"> |
839 |
<summary>
|
840 |
Name of the cookie |
841 |
</summary>
|
842 |
</member>
|
843 |
<member name="P:RestSharp.HttpCookie.Path"> |
844 |
<summary>
|
845 |
Path of the cookie |
846 |
</summary>
|
847 |
</member>
|
848 |
<member name="P:RestSharp.HttpCookie.Port"> |
849 |
<summary>
|
850 |
Port of the cookie |
851 |
</summary>
|
852 |
</member>
|
853 |
<member name="P:RestSharp.HttpCookie.Secure"> |
854 |
<summary>
|
855 |
Indicates that the cookie should only be sent over secure channels |
856 |
</summary>
|
857 |
</member>
|
858 |
<member name="P:RestSharp.HttpCookie.TimeStamp"> |
859 |
<summary>
|
860 |
Date and time the cookie was created |
861 |
</summary>
|
862 |
</member>
|
863 |
<member name="P:RestSharp.HttpCookie.Value"> |
864 |
<summary>
|
865 |
Value of the cookie |
866 |
</summary>
|
867 |
</member>
|
868 |
<member name="P:RestSharp.HttpCookie.Version"> |
869 |
<summary>
|
870 |
Version of the cookie |
871 |
</summary>
|
872 |
</member>
|
873 |
<member name="T:RestSharp.HttpResponse"> |
874 |
<summary>
|
875 |
HTTP response data |
876 |
</summary>
|
877 |
</member>
|
878 |
<member name="T:RestSharp.IHttpResponse"> |
879 |
<summary>
|
880 |
HTTP response data |
881 |
</summary>
|
882 |
</member>
|
883 |
<member name="P:RestSharp.IHttpResponse.ContentType"> |
884 |
<summary>
|
885 |
MIME content type of response |
886 |
</summary>
|
887 |
</member>
|
888 |
<member name="P:RestSharp.IHttpResponse.ContentLength"> |
889 |
<summary>
|
890 |
Length in bytes of the response content |
891 |
</summary>
|
892 |
</member>
|
893 |
<member name="P:RestSharp.IHttpResponse.ContentEncoding"> |
894 |
<summary>
|
895 |
Encoding of the response content |
896 |
</summary>
|
897 |
</member>
|
898 |
<member name="P:RestSharp.IHttpResponse.Content"> |
899 |
<summary>
|
900 |
String representation of response content |
901 |
</summary>
|
902 |
</member>
|
903 |
<member name="P:RestSharp.IHttpResponse.StatusCode"> |
904 |
<summary>
|
905 |
HTTP response status code |
906 |
</summary>
|
907 |
</member>
|
908 |
<member name="P:RestSharp.IHttpResponse.StatusDescription"> |
909 |
<summary>
|
910 |
Description of HTTP status returned |
911 |
</summary>
|
912 |
</member>
|
913 |
<member name="P:RestSharp.IHttpResponse.RawBytes"> |
914 |
<summary>
|
915 |
Response content |
916 |
</summary>
|
917 |
</member>
|
918 |
<member name="P:RestSharp.IHttpResponse.ResponseUri"> |
919 |
<summary>
|
920 |
The URL that actually responded to the content (different from request if redirected) |
921 |
</summary>
|
922 |
</member>
|
923 |
<member name="P:RestSharp.IHttpResponse.Server"> |
924 |
<summary>
|
925 |
HttpWebResponse.Server |
926 |
</summary>
|
927 |
</member>
|
928 |
<member name="P:RestSharp.IHttpResponse.Headers"> |
929 |
<summary>
|
930 |
Headers returned by server with the response |
931 |
</summary>
|
932 |
</member>
|
933 |
<member name="P:RestSharp.IHttpResponse.Cookies"> |
934 |
<summary>
|
935 |
Cookies returned by server with the response |
936 |
</summary>
|
937 |
</member>
|
938 |
<member name="P:RestSharp.IHttpResponse.ResponseStatus"> |
939 |
<summary>
|
940 |
Status of the request. Will return Error for transport errors. |
941 |
HTTP errors will still return ResponseStatus.Completed, check StatusCode instead |
942 |
</summary>
|
943 |
</member>
|
944 |
<member name="P:RestSharp.IHttpResponse.ErrorMessage"> |
945 |
<summary>
|
946 |
Transport or other non-HTTP error generated while attempting request |
947 |
</summary>
|
948 |
</member>
|
949 |
<member name="P:RestSharp.IHttpResponse.ErrorException"> |
950 |
<summary>
|
951 |
Exception thrown when error is encountered. |
952 |
</summary>
|
953 |
</member>
|
954 |
<member name="M:RestSharp.HttpResponse.#ctor"> |
955 |
<summary>
|
956 |
Default constructor |
957 |
</summary>
|
958 |
</member>
|
959 |
<member name="P:RestSharp.HttpResponse.ContentType"> |
960 |
<summary>
|
961 |
MIME content type of response |
962 |
</summary>
|
963 |
</member>
|
964 |
<member name="P:RestSharp.HttpResponse.ContentLength"> |
965 |
<summary>
|
966 |
Length in bytes of the response content |
967 |
</summary>
|
968 |
</member>
|
969 |
<member name="P:RestSharp.HttpResponse.ContentEncoding"> |
970 |
<summary>
|
971 |
Encoding of the response content |
972 |
</summary>
|
973 |
</member>
|
974 |
<member name="P:RestSharp.HttpResponse.Content"> |
975 |
<summary>
|
976 |
Lazy-loaded string representation of response content |
977 |
</summary>
|
978 |
</member>
|
979 |
<member name="P:RestSharp.HttpResponse.StatusCode"> |
980 |
<summary>
|
981 |
HTTP response status code |
982 |
</summary>
|
983 |
</member>
|
984 |
<member name="P:RestSharp.HttpResponse.StatusDescription"> |
985 |
<summary>
|
986 |
Description of HTTP status returned |
987 |
</summary>
|
988 |
</member>
|
989 |
<member name="P:RestSharp.HttpResponse.RawBytes"> |
990 |
<summary>
|
991 |
Response content |
992 |
</summary>
|
993 |
</member>
|
994 |
<member name="P:RestSharp.HttpResponse.ResponseUri"> |
995 |
<summary>
|
996 |
The URL that actually responded to the content (different from request if redirected) |
997 |
</summary>
|
998 |
</member>
|
999 |
<member name="P:RestSharp.HttpResponse.Server"> |
1000 |
<summary>
|
1001 |
HttpWebResponse.Server |
1002 |
</summary>
|
1003 |
</member>
|
1004 |
<member name="P:RestSharp.HttpResponse.Headers"> |
1005 |
<summary>
|
1006 |
Headers returned by server with the response |
1007 |
</summary>
|
1008 |
</member>
|
1009 |
<member name="P:RestSharp.HttpResponse.Cookies"> |
1010 |
<summary>
|
1011 |
Cookies returned by server with the response |
1012 |
</summary>
|
1013 |
</member>
|
1014 |
<member name="P:RestSharp.HttpResponse.ResponseStatus"> |
1015 |
<summary>
|
1016 |
Status of the request. Will return Error for transport errors. |
1017 |
HTTP errors will still return ResponseStatus.Completed, check StatusCode instead |
1018 |
</summary>
|
1019 |
</member>
|
1020 |
<member name="P:RestSharp.HttpResponse.ErrorMessage"> |
1021 |
<summary>
|
1022 |
Transport or other non-HTTP error generated while attempting request |
1023 |
</summary>
|
1024 |
</member>
|
1025 |
<member name="P:RestSharp.HttpResponse.ErrorException"> |
1026 |
<summary>
|
1027 |
Exception thrown when error is encountered. |
1028 |
</summary>
|
1029 |
</member>
|
1030 |
<member name="T:RestSharp.ParameterType"> |
1031 |
<summary>
|
1032 |
Types of parameters that can be added to requests |
1033 |
</summary>
|
1034 |
</member>
|
1035 |
<member name="T:RestSharp.DataFormat"> |
1036 |
<summary>
|
1037 |
Data formats |
1038 |
</summary>
|
1039 |
</member>
|
1040 |
<member name="T:RestSharp.Method"> |
1041 |
<summary>
|
1042 |
HTTP method to use when making requests |
1043 |
</summary>
|
1044 |
</member>
|
1045 |
<member name="T:RestSharp.DateFormat"> |
1046 |
<summary>
|
1047 |
Format strings for commonly-used date formats |
1048 |
</summary>
|
1049 |
</member>
|
1050 |
<member name="F:RestSharp.DateFormat.ISO_8601"> |
1051 |
<summary>
|
1052 |
.NET format string for ISO 8601 date format |
1053 |
</summary>
|
1054 |
</member>
|
1055 |
<member name="F:RestSharp.DateFormat.ROUND_TRIP"> |
1056 |
<summary>
|
1057 |
.NET format string for roundtrip date format |
1058 |
</summary>
|
1059 |
</member>
|
1060 |
<member name="T:RestSharp.ResponseStatus"> |
1061 |
<summary>
|
1062 |
Status for responses (surprised?) |
1063 |
</summary>
|
1064 |
</member>
|
1065 |
<member name="T:RestSharp.Extensions.MiscExtensions"> |
1066 |
<summary>
|
1067 |
Extension method overload! |
1068 |
</summary>
|
1069 |
</member>
|
1070 |
<member name="M:RestSharp.Extensions.MiscExtensions.SaveAs(System.Byte[],System.String)"> |
1071 |
<summary>
|
1072 |
Save a byte array to a file |
1073 |
</summary>
|
1074 |
<param name="input">Bytes to save</param> |
1075 |
<param name="path">Full path to save file to</param> |
1076 |
</member>
|
1077 |
<member name="M:RestSharp.Extensions.MiscExtensions.ReadAsBytes(System.IO.Stream)"> |
1078 |
<summary>
|
1079 |
Read a stream into a byte array |
1080 |
</summary>
|
1081 |
<param name="input">Stream to read</param> |
1082 |
<returns>byte[]</returns> |
1083 |
</member>
|
1084 |
<member name="M:RestSharp.Extensions.MiscExtensions.CopyTo(System.IO.Stream,System.IO.Stream)"> |
1085 |
<summary>
|
1086 |
Copies bytes from one stream to another |
1087 |
</summary>
|
1088 |
<param name="input">The input stream.</param> |
1089 |
<param name="output">The output stream.</param> |
1090 |
</member>
|
1091 |
<member name="M:RestSharp.Extensions.MiscExtensions.AsString(System.Byte[])"> |
1092 |
<summary>
|
1093 |
Converts a byte array to a string, using its byte order mark to convert it to the right encoding. |
1094 |
http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx |
1095 |
</summary>
|
1096 |
<param name="buffer">An array of bytes to convert</param> |
1097 |
<returns>The byte as a string.</returns> |
1098 |
</member>
|
1099 |
<member name="T:RestSharp.Extensions.ReflectionExtensions"> |
1100 |
<summary>
|
1101 |
Reflection extensions |
1102 |
</summary>
|
1103 |
</member>
|
1104 |
<member name="M:RestSharp.Extensions.ReflectionExtensions.GetAttribute``1(System.Reflection.MemberInfo)"> |
1105 |
<summary>
|
1106 |
Retrieve an attribute from a member (property) |
1107 |
</summary>
|
1108 |
<typeparam name="T">Type of attribute to retrieve</typeparam> |
1109 |
<param name="prop">Member to retrieve attribute from</param> |
1110 |
<returns></returns> |
1111 |
</member>
|
1112 |
<member name="M:RestSharp.Extensions.ReflectionExtensions.GetAttribute``1(System.Type)"> |
1113 |
<summary>
|
1114 |
Retrieve an attribute from a type |
1115 |
</summary>
|
1116 |
<typeparam name="T">Type of attribute to retrieve</typeparam> |
1117 |
<param name="type">Type to retrieve attribute from</param> |
1118 |
<returns></returns> |
1119 |
</member>
|
1120 |
<member name="M:RestSharp.Extensions.ReflectionExtensions.IsSubclassOfRawGeneric(System.Type,System.Type)"> |
1121 |
<summary>
|
1122 |
Checks a type to see if it derives from a raw generic (e.g. List[[]]) |
1123 |
</summary>
|
1124 |
<param name="toCheck"></param> |
1125 |
<param name="generic"></param> |
1126 |
<returns></returns> |
1127 |
</member>
|
1128 |
<member name="M:RestSharp.Extensions.ReflectionExtensions.FindEnumValue(System.Type,System.String,System.Globalization.CultureInfo)"> |
1129 |
<summary>
|
1130 |
Find a value from a System.Enum by trying several possible variants |
1131 |
of the string value of the enum. |
1132 |
</summary>
|
1133 |
<param name="type">Type of enum</param> |
1134 |
<param name="value">Value for which to search</param> |
1135 |
<param name="culture">The culture used to calculate the name variants</param> |
1136 |
<returns></returns> |
1137 |
</member>
|
1138 |
<member name="T:RestSharp.Extensions.XmlExtensions"> |
1139 |
<summary>
|
1140 |
XML Extension Methods |
1141 |
</summary>
|
1142 |
</member>
|
1143 |
<member name="M:RestSharp.Extensions.XmlExtensions.AsNamespaced(System.String,System.String)"> |
1144 |
<summary>
|
1145 |
Returns the name of an element with the namespace if specified |
1146 |
</summary>
|
1147 |
<param name="name">Element name</param> |
1148 |
<param name="namespace">XML Namespace</param> |
1149 |
<returns></returns> |
1150 |
</member>
|
1151 |
<member name="T:RestSharp.FileParameter"> |
1152 |
<summary>
|
1153 |
Container for files to be uploaded with requests |
1154 |
</summary>
|
1155 |
</member>
|
1156 |
<member name="M:RestSharp.FileParameter.Create(System.String,System.Byte[],System.String,System.String)"> |
1157 |
<summary>
|
1158 |
Creates a file parameter from an array of bytes. |
1159 |
</summary>
|
1160 |
<param name="name">The parameter name to use in the request.</param> |
1161 |
<param name="data">The data to use as the file's contents.</param> |
1162 |
<param name="filename">The filename to use in the request.</param> |
1163 |
<param name="contentType">The content type to use in the request.</param> |
1164 |
<returns>The <see cref="T:RestSharp.FileParameter"/></returns> |
1165 |
</member>
|
1166 |
<member name="M:RestSharp.FileParameter.Create(System.String,System.Byte[],System.String)"> |
1167 |
<summary>
|
1168 |
Creates a file parameter from an array of bytes. |
1169 |
</summary>
|
1170 |
<param name="name">The parameter name to use in the request.</param> |
1171 |
<param name="data">The data to use as the file's contents.</param> |
1172 |
<param name="filename">The filename to use in the request.</param> |
1173 |
<returns>The <see cref="T:RestSharp.FileParameter"/> using the default content type.</returns> |
1174 |
</member>
|
1175 |
<member name="P:RestSharp.FileParameter.ContentLength"> |
1176 |
<summary>
|
1177 |
The length of data to be sent |
1178 |
</summary>
|
1179 |
</member>
|
1180 |
<member name="P:RestSharp.FileParameter.Writer"> |
1181 |
<summary>
|
1182 |
Provides raw data for file |
1183 |
</summary>
|
1184 |
</member>
|
1185 |
<member name="P:RestSharp.FileParameter.FileName"> |
1186 |
<summary>
|
1187 |
Name of the file to use when uploading |
1188 |
</summary>
|
1189 |
</member>
|
1190 |
<member name="P:RestSharp.FileParameter.ContentType"> |
1191 |
<summary>
|
1192 |
MIME content type of file |
1193 |
</summary>
|
1194 |
</member>
|
1195 |
<member name="P:RestSharp.FileParameter.Name"> |
1196 |
<summary>
|
1197 |
Name of the parameter |
1198 |
</summary>
|
1199 |
</member>
|
1200 |
<member name="T:RestSharp.HttpFile"> |
1201 |
<summary>
|
1202 |
Container for HTTP file |
1203 |
</summary>
|
1204 |
</member>
|
1205 |
<member name="P:RestSharp.HttpFile.ContentLength"> |
1206 |
<summary>
|
1207 |
The length of data to be sent |
1208 |
</summary>
|
1209 |
</member>
|
1210 |
<member name="P:RestSharp.HttpFile.Writer"> |
1211 |
<summary>
|
1212 |
Provides raw data for file |
1213 |
</summary>
|
1214 |
</member>
|
1215 |
<member name="P:RestSharp.HttpFile.FileName"> |
1216 |
<summary>
|
1217 |
Name of the file to use when uploading |
1218 |
</summary>
|
1219 |
</member>
|
1220 |
<member name="P:RestSharp.HttpFile.ContentType"> |
1221 |
<summary>
|
1222 |
MIME content type of file |
1223 |
</summary>
|
1224 |
</member>
|
1225 |
<member name="P:RestSharp.HttpFile.Name"> |
1226 |
<summary>
|
1227 |
Name of the parameter |
1228 |
</summary>
|
1229 |
</member>
|
1230 |
<member name="T:RestSharp.HttpHeader"> |
1231 |
<summary>
|
1232 |
Representation of an HTTP header |
1233 |
</summary>
|
1234 |
</member>
|
1235 |
<member name="P:RestSharp.HttpHeader.Name"> |
1236 |
<summary>
|
1237 |
Name of the header |
1238 |
</summary>
|
1239 |
</member>
|
1240 |
<member name="P:RestSharp.HttpHeader.Value"> |
1241 |
<summary>
|
1242 |
Value of the header |
1243 |
</summary>
|
1244 |
</member>
|
1245 |
<member name="T:RestSharp.HttpParameter"> |
1246 |
<summary>
|
1247 |
Representation of an HTTP parameter (QueryString or Form value) |
1248 |
</summary>
|
1249 |
</member>
|
1250 |
<member name="P:RestSharp.HttpParameter.Name"> |
1251 |
<summary>
|
1252 |
Name of the parameter |
1253 |
</summary>
|
1254 |
</member>
|
1255 |
<member name="P:RestSharp.HttpParameter.Value"> |
1256 |
<summary>
|
1257 |
Value of the parameter |
1258 |
</summary>
|
1259 |
</member>
|
1260 |
<member name="P:RestSharp.HttpParameter.ContentType"> |
1261 |
<summary>
|
1262 |
Content-Type of the parameter |
1263 |
</summary>
|
1264 |
</member>
|
1265 |
<member name="M:RestSharp.IRestClient.ExecuteAsyncGet(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)"> |
1266 |
<summary>
|
1267 |
Executes a GET-style request and callback asynchronously, authenticating if needed |
1268 |
</summary>
|
1269 |
<param name="request">Request to be executed</param> |
1270 |
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param> |
1271 |
<param name="httpMethod">The HTTP method to execute</param> |
1272 |
</member>
|
1273 |
<member name="M:RestSharp.IRestClient.ExecuteAsyncPost(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)"> |
1274 |
<summary>
|
1275 |
Executes a POST-style request and callback asynchronously, authenticating if needed |
1276 |
</summary>
|
1277 |
<param name="request">Request to be executed</param> |
1278 |
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param> |
1279 |
<param name="httpMethod">The HTTP method to execute</param> |
1280 |
</member>
|
1281 |
<member name="M:RestSharp.IRestClient.ExecuteAsyncGet``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)"> |
1282 |
<summary>
|
1283 |
Executes a GET-style request and callback asynchronously, authenticating if needed |
1284 |
</summary>
|
1285 |
<typeparam name="T">Target deserialization type</typeparam> |
1286 |
<param name="request">Request to be executed</param> |
1287 |
<param name="callback">Callback function to be executed upon completion</param> |
1288 |
<param name="httpMethod">The HTTP method to execute</param> |
1289 |
</member>
|
1290 |
<member name="M:RestSharp.IRestClient.ExecuteAsyncPost``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)"> |
1291 |
<summary>
|
1292 |
Executes a GET-style request and callback asynchronously, authenticating if needed |
1293 |
</summary>
|
1294 |
<typeparam name="T">Target deserialization type</typeparam> |
1295 |
<param name="request">Request to be executed</param> |
1296 |
<param name="callback">Callback function to be executed upon completion</param> |
1297 |
<param name="httpMethod">The HTTP method to execute</param> |
1298 |
</member>
|
1299 |
<member name="P:RestSharp.IRestClient.ClientCertificates"> |
1300 |
<summary>
|
1301 |
X509CertificateCollection to be sent with request |
1302 |
</summary>
|
1303 |
</member>
|
1304 |
<member name="M:RestSharp.IRestRequest.AddFile(System.String,System.String,System.String)"> |
1305 |
<summary>
|
1306 |
Adds a file to the Files collection to be included with a POST or PUT request |
1307 |
(other methods do not support file uploads). |
1308 |
</summary>
|
1309 |
<param name="name">The parameter name to use in the request</param> |
1310 |
<param name="path">Full path to file to upload</param> |
1311 |
<param name="contentType">The MIME type of the file to upload</param> |
1312 |
<returns>This request</returns> |
1313 |
</member>
|
1314 |
<member name="M:RestSharp.IRestRequest.AddFile(System.String,System.Byte[],System.String,System.String)"> |
1315 |
<summary>
|
1316 |
Adds the bytes to the Files collection with the specified file name and content type |
1317 |
</summary>
|
1318 |
<param name="name">The parameter name to use in the request</param> |
1319 |
<param name="bytes">The file data</param> |
1320 |
<param name="fileName">The file name to use for the uploaded file</param> |
1321 |
<param name="contentType">The MIME type of the file to upload</param> |
1322 |
<returns>This request</returns> |
1323 |
</member>
|
1324 |
<member name="M:RestSharp.IRestRequest.AddFile(System.String,System.Action{System.IO.Stream},System.String,System.String)"> |
1325 |
<summary>
|
1326 |
Adds the bytes to the Files collection with the specified file name and content type |
1327 |
</summary>
|
1328 |
<param name="name">The parameter name to use in the request</param> |
1329 |
<param name="writer">A function that writes directly to the stream. Should NOT close the stream.</param> |
1330 |
<param name="fileName">The file name to use for the uploaded file</param> |
1331 |
<param name="contentType">The MIME type of the file to upload</param> |
1332 |
<returns>This request</returns> |
1333 |
</member>
|
1334 |
<member name="M:RestSharp.IRestRequest.AddFileBytes(System.String,System.Byte[],System.String,System.String)"> |
1335 |
<summary>
|
1336 |
Add bytes to the Files collection as if it was a file of specific type |
1337 |
</summary>
|
1338 |
<param name="name">A form parameter name</param> |
1339 |
<param name="bytes">The file data</param> |
1340 |
<param name="filename">The file name to use for the uploaded file</param> |
1341 |
<param name="contentType">Specific content type. Es: application/x-gzip </param> |
1342 |
<returns></returns> |
1343 |
</member>
|
1344 |
<member name="M:RestSharp.IRestRequest.AddBody(System.Object,System.String)"> |
1345 |
<summary>
|
1346 |
Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer |
1347 |
The default format is XML. Change RequestFormat if you wish to use a different serialization format. |
1348 |
</summary>
|
1349 |
<param name="obj">The object to serialize</param> |
1350 |
<param name="xmlNamespace">The XML namespace to use when serializing</param> |
1351 |
<returns>This request</returns> |
1352 |
</member>
|
1353 |
<member name="M:RestSharp.IRestRequest.AddBody(System.Object)"> |
1354 |
<summary>
|
1355 |
Serializes obj to data format specified by RequestFormat and adds it to the request body. |
1356 |
The default format is XML. Change RequestFormat if you wish to use a different serialization format. |
1357 |
</summary>
|
1358 |
<param name="obj">The object to serialize</param> |
1359 |
<returns>This request</returns> |
1360 |
</member>
|
1361 |
<member name="M:RestSharp.IRestRequest.AddJsonBody(System.Object)"> |
1362 |
<summary>
|
1363 |
Serializes obj to JSON format and adds it to the request body. |
1364 |
</summary>
|
1365 |
<param name="obj">The object to serialize</param> |
1366 |
<returns>This request</returns> |
1367 |
</member>
|
1368 |
<member name="M:RestSharp.IRestRequest.AddXmlBody(System.Object)"> |
1369 |
<summary>
|
1370 |
Serializes obj to XML format and adds it to the request body. |
1371 |
</summary>
|
1372 |
<param name="obj">The object to serialize</param> |
1373 |
<returns>This request</returns> |
1374 |
</member>
|
1375 |
<member name="M:RestSharp.IRestRequest.AddXmlBody(System.Object,System.String)"> |
1376 |
<summary>
|
1377 |
Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer |
1378 |
Serializes obj to XML format and passes xmlNamespace then adds it to the request body. |
1379 |
</summary>
|
1380 |
<param name="obj">The object to serialize</param> |
1381 |
<param name="xmlNamespace">The XML namespace to use when serializing</param> |
1382 |
<returns>This request</returns> |
1383 |
</member>
|
1384 |
<member name="M:RestSharp.IRestRequest.AddObject(System.Object,System.String[])"> |
1385 |
<summary>
|
1386 |
Calls AddParameter() for all public, readable properties specified in the includedProperties list |
1387 |
</summary>
|
1388 |
<example>
|
1389 |
request.AddObject(product, "ProductId", "Price", ...); |
1390 |
</example>
|
1391 |
<param name="obj">The object with properties to add as parameters</param> |
1392 |
<param name="includedProperties">The names of the properties to include</param> |
1393 |
<returns>This request</returns> |
1394 |
</member>
|
1395 |
<member name="M:RestSharp.IRestRequest.AddObject(System.Object)"> |
1396 |
<summary>
|
1397 |
Calls AddParameter() for all public, readable properties of obj |
1398 |
</summary>
|
1399 |
<param name="obj">The object with properties to add as parameters</param> |
1400 |
<returns>This request</returns> |
1401 |
</member>
|
1402 |
<member name="M:RestSharp.IRestRequest.AddParameter(RestSharp.Parameter)"> |
1403 |
<summary>
|
1404 |
Add the parameter to the request |
1405 |
</summary>
|
1406 |
<param name="p">Parameter to add</param> |
1407 |
<returns></returns> |
1408 |
</member>
|
1409 |
<member name="M:RestSharp.IRestRequest.AddParameter(System.String,System.Object)"> |
1410 |
<summary>
|
1411 |
Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) |
1412 |
</summary>
|
1413 |
<param name="name">Name of the parameter</param> |
1414 |
<param name="value">Value of the parameter</param> |
1415 |
<returns>This request</returns> |
1416 |
</member>
|
1417 |
<member name="M:RestSharp.IRestRequest.AddParameter(System.String,System.Object,RestSharp.ParameterType)"> |
1418 |
<summary>
|
1419 |
Adds a parameter to the request. There are five types of parameters: |
1420 |
- GetOrPost: Either a QueryString value or encoded form value based on method |
1421 |
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection |
1422 |
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} |
1423 |
- Cookie: Adds the name/value pair to the HTTP request's Cookies collection |
1424 |
- RequestBody: Used by AddBody() (not recommended to use directly) |
1425 |
</summary>
|
1426 |
<param name="name">Name of the parameter</param> |
1427 |
<param name="value">Value of the parameter</param> |
1428 |
<param name="type">The type of parameter to add</param> |
1429 |
<returns>This request</returns> |
1430 |
</member>
|
1431 |
<member name="M:RestSharp.IRestRequest.AddParameter(System.String,System.Object,System.String,RestSharp.ParameterType)"> |
1432 |
<summary>
|
1433 |
Adds a parameter to the request. There are five types of parameters: |
1434 |
- GetOrPost: Either a QueryString value or encoded form value based on method |
1435 |
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection |
1436 |
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} |
1437 |
- Cookie: Adds the name/value pair to the HTTP request's Cookies collection |
1438 |
- RequestBody: Used by AddBody() (not recommended to use directly) |
1439 |
</summary>
|
1440 |
<param name="name">Name of the parameter</param> |
1441 |
<param name="value">Value of the parameter</param> |
1442 |
<param name="contentType">Content-Type of the parameter</param> |
1443 |
<param name="type">The type of parameter to add</param> |
1444 |
<returns>This request</returns> |
1445 |
</member>
|
1446 |
<member name="M:RestSharp.IRestRequest.AddHeader(System.String,System.String)"> |
1447 |
<summary>
|
1448 |
Shortcut to AddParameter(name, value, HttpHeader) overload |
1449 |
</summary>
|
1450 |
<param name="name">Name of the header to add</param> |
1451 |
<param name="value">Value of the header to add</param> |
1452 |
<returns></returns> |
1453 |
</member>
|
1454 |
<member name="M:RestSharp.IRestRequest.AddCookie(System.String,System.String)"> |
1455 |
<summary>
|
1456 |
Shortcut to AddParameter(name, value, Cookie) overload |
1457 |
</summary>
|
1458 |
<param name="name">Name of the cookie to add</param> |
1459 |
<param name="value">Value of the cookie to add</param> |
1460 |
<returns></returns> |
1461 |
</member>
|
1462 |
<member name="M:RestSharp.IRestRequest.AddUrlSegment(System.String,System.String)"> |
1463 |
<summary>
|
1464 |
Shortcut to AddParameter(name, value, UrlSegment) overload |
1465 |
</summary>
|
1466 |
<param name="name">Name of the segment to add</param> |
1467 |
<param name="value">Value of the segment to add</param> |
1468 |
<returns></returns> |
1469 |
</member>
|
1470 |
<member name="M:RestSharp.IRestRequest.AddQueryParameter(System.String,System.String)"> |
1471 |
<summary>
|
1472 |
Shortcut to AddParameter(name, value, QueryString) overload |
1473 |
</summary>
|
1474 |
<param name="name">Name of the parameter to add</param> |
1475 |
<param name="value">Value of the parameter to add</param> |
1476 |
<returns></returns> |
1477 |
</member>
|
1478 |
<member name="P:RestSharp.IRestRequest.AlwaysMultipartFormData"> |
1479 |
<summary>
|
1480 |
Always send a multipart/form-data request - even when no Files are present. |
1481 |
</summary>
|
1482 |
</member>
|
1483 |
<member name="P:RestSharp.IRestRequest.JsonSerializer"> |
1484 |
<summary>
|
1485 |
Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. |
1486 |
By default the included JsonSerializer is used (currently using JSON.NET default serialization). |
1487 |
</summary>
|
1488 |
</member>
|
1489 |
<member name="P:RestSharp.IRestRequest.XmlSerializer"> |
1490 |
<summary>
|
1491 |
Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. |
1492 |
By default the included XmlSerializer is used. |
1493 |
</summary>
|
1494 |
</member>
|
1495 |
<member name="P:RestSharp.IRestRequest.ResponseWriter"> |
1496 |
<summary>
|
1497 |
Set this to write response to Stream rather than reading into memory. |
1498 |
</summary>
|
1499 |
</member>
|
1500 |
<member name="P:RestSharp.IRestRequest.Parameters"> |
1501 |
<summary>
|
1502 |
Container of all HTTP parameters to be passed with the request. |
1503 |
See AddParameter() for explanation of the types of parameters that can be passed |
1504 |
</summary>
|
1505 |
</member>
|
1506 |
<member name="P:RestSharp.IRestRequest.Files"> |
1507 |
<summary>
|
1508 |
Container of all the files to be uploaded with the request. |
1509 |
</summary>
|
1510 |
</member>
|
1511 |
<member name="P:RestSharp.IRestRequest.Method"> |
1512 |
<summary>
|
1513 |
Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS |
1514 |
Default is GET |
1515 |
</summary>
|
1516 |
</member>
|
1517 |
<member name="P:RestSharp.IRestRequest.Resource"> |
1518 |
<summary>
|
1519 |
The Resource URL to make the request against. |
1520 |
Tokens are substituted with UrlSegment parameters and match by name. |
1521 |
Should not include the scheme or domain. Do not include leading slash. |
1522 |
Combined with RestClient.BaseUrl to assemble final URL: |
1523 |
{BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) |
1524 |
</summary>
|
1525 |
<example>
|
1526 |
// example for url token replacement |
1527 |
request.Resource = "Products/{ProductId}"; |
1528 |
request.AddParameter("ProductId", 123, ParameterType.UrlSegment); |
1529 |
</example>
|
1530 |
</member>
|
1531 |
<member name="P:RestSharp.IRestRequest.RequestFormat"> |
1532 |
<summary>
|
1533 |
Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. |
1534 |
By default XmlSerializer is used. |
1535 |
</summary>
|
1536 |
</member>
|
1537 |
<member name="P:RestSharp.IRestRequest.RootElement"> |
1538 |
<summary>
|
1539 |
Used by the default deserializers to determine where to start deserializing from. |
1540 |
Can be used to skip container or root elements that do not have corresponding deserialzation targets. |
1541 |
</summary>
|
1542 |
</member>
|
1543 |
<member name="P:RestSharp.IRestRequest.DateFormat"> |
1544 |
<summary>
|
1545 |
Used by the default deserializers to explicitly set which date format string to use when parsing dates. |
1546 |
</summary>
|
1547 |
</member>
|
1548 |
<member name="P:RestSharp.IRestRequest.XmlNamespace"> |
1549 |
<summary>
|
1550 |
Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. |
1551 |
</summary>
|
1552 |
</member>
|
1553 |
<member name="P:RestSharp.IRestRequest.Credentials"> |
1554 |
<summary>
|
1555 |
In general you would not need to set this directly. Used by the NtlmAuthenticator. |
1556 |
</summary>
|
1557 |
</member>
|
1558 |
<member name="P:RestSharp.IRestRequest.Timeout"> |
1559 |
<summary>
|
1560 |
Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. |
1561 |
</summary>
|
1562 |
</member>
|
1563 |
<member name="P:RestSharp.IRestRequest.ReadWriteTimeout"> |
1564 |
<summary>
|
1565 |
The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. |
1566 |
</summary>
|
1567 |
</member>
|
1568 |
<member name="P:RestSharp.IRestRequest.Attempts"> |
1569 |
<summary>
|
1570 |
How many attempts were made to send this Request? |
1571 |
</summary>
|
1572 |
<remarks>
|
1573 |
This Number is incremented each time the RestClient sends the request. |
1574 |
Useful when using Asynchronous Execution with Callbacks |
1575 |
</remarks>
|
1576 |
</member>
|
1577 |
<member name="P:RestSharp.IRestRequest.UseDefaultCredentials"> |
1578 |
<summary>
|
1579 |
Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) |
1580 |
will be sent along to the server. The default is false. |
1581 |
</summary>
|
1582 |
</member>
|
1583 |
<member name="T:RestSharp.IRestResponse"> |
1584 |
<summary>
|
1585 |
Container for data sent back from API |
1586 |
</summary>
|
1587 |
</member>
|
1588 |
<member name="P:RestSharp.IRestResponse.Request"> |
1589 |
<summary>
|
1590 |
The RestRequest that was made to get this RestResponse |
1591 |
</summary>
|
1592 |
<remarks>
|
1593 |
Mainly for debugging if ResponseStatus is not OK |
1594 |
</remarks>
|
1595 |
</member>
|
1596 |
<member name="P:RestSharp.IRestResponse.ContentType"> |
1597 |
<summary>
|
1598 |
MIME content type of response |
1599 |
</summary>
|
1600 |
</member>
|
1601 |
<member name="P:RestSharp.IRestResponse.ContentLength"> |
1602 |
<summary>
|
1603 |
Length in bytes of the response content |
1604 |
</summary>
|
1605 |
</member>
|
1606 |
<member name="P:RestSharp.IRestResponse.ContentEncoding"> |
1607 |
<summary>
|
1608 |
Encoding of the response content |
1609 |
</summary>
|
1610 |
</member>
|
1611 |
<member name="P:RestSharp.IRestResponse.Content"> |
1612 |
<summary>
|
1613 |
String representation of response content |
1614 |
</summary>
|
1615 |
</member>
|
1616 |
<member name="P:RestSharp.IRestResponse.StatusCode"> |
1617 |
<summary>
|
1618 |
HTTP response status code |
1619 |
</summary>
|
1620 |
</member>
|
1621 |
<member name="P:RestSharp.IRestResponse.StatusDescription"> |
1622 |
<summary>
|
1623 |
Description of HTTP status returned |
1624 |
</summary>
|
1625 |
</member>
|
1626 |
<member name="P:RestSharp.IRestResponse.RawBytes"> |
1627 |
<summary>
|
1628 |
Response content |
1629 |
</summary>
|
1630 |
</member>
|
1631 |
<member name="P:RestSharp.IRestResponse.ResponseUri"> |
1632 |
<summary>
|
1633 |
The URL that actually responded to the content (different from request if redirected) |
1634 |
</summary>
|
1635 |
</member>
|
1636 |
<member name="P:RestSharp.IRestResponse.Server"> |
1637 |
<summary>
|
1638 |
HttpWebResponse.Server |
1639 |
</summary>
|
1640 |
</member>
|
1641 |
<member name="P:RestSharp.IRestResponse.Cookies"> |
1642 |
<summary>
|
1643 |
Cookies returned by server with the response |
1644 |
</summary>
|
1645 |
</member>
|
1646 |
<member name="P:RestSharp.IRestResponse.Headers"> |
1647 |
<summary>
|
1648 |
Headers returned by server with the response |
1649 |
</summary>
|
1650 |
</member>
|
1651 |
<member name="P:RestSharp.IRestResponse.ResponseStatus"> |
1652 |
<summary>
|
1653 |
Status of the request. Will return Error for transport errors. |
1654 |
HTTP errors will still return ResponseStatus.Completed, check StatusCode instead |
1655 |
</summary>
|
1656 |
</member>
|
1657 |
<member name="P:RestSharp.IRestResponse.ErrorMessage"> |
1658 |
<summary>
|
1659 |
Transport or other non-HTTP error generated while attempting request |
1660 |
</summary>
|
1661 |
</member>
|
1662 |
<member name="P:RestSharp.IRestResponse.ErrorException"> |
1663 |
<summary>
|
1664 |
Exceptions thrown during the request, if any. |
1665 |
</summary>
|
1666 |
<remarks>Will contain only network transport or framework exceptions thrown during the request.
|
1667 |
HTTP protocol errors are handled by RestSharp and will not appear here.</remarks>
|
1668 |
</member>
|
1669 |
<member name="T:RestSharp.IRestResponse`1"> |
1670 |
<summary>
|
1671 |
Container for data sent back from API including deserialized data |
1672 |
</summary>
|
1673 |
<typeparam name="T">Type of data to deserialize to</typeparam> |
1674 |
</member>
|
1675 |
<member name="P:RestSharp.IRestResponse`1.Data"> |
1676 |
<summary>
|
1677 |
Deserialized entity data |
1678 |
</summary>
|
1679 |
</member>
|
1680 |
<member name="T:RestSharp.RestResponseBase"> |
1681 |
<summary>
|
1682 |
Base class for common properties shared by RestResponse and RestResponse[[T]] |
1683 |
</summary>
|
1684 |
</member>
|
1685 |
<member name="M:RestSharp.RestResponseBase.#ctor"> |
1686 |
<summary>
|
1687 |
Default constructor |
1688 |
</summary>
|
1689 |
</member>
|
1690 |
<member name="M:RestSharp.RestResponseBase.DebuggerDisplay"> |
1691 |
<summary>
|
1692 |
Assists with debugging responses by displaying in the debugger output |
1693 |
</summary>
|
1694 |
<returns></returns> |
1695 |
</member>
|
1696 |
<member name="P:RestSharp.RestResponseBase.Request"> |
1697 |
<summary>
|
1698 |
The RestRequest that was made to get this RestResponse |
1699 |
</summary>
|
1700 |
<remarks>
|
1701 |
Mainly for debugging if ResponseStatus is not OK |
1702 |
</remarks>
|
1703 |
</member>
|
1704 |
<member name="P:RestSharp.RestResponseBase.ContentType"> |
1705 |
<summary>
|
1706 |
MIME content type of response |
1707 |
</summary>
|
1708 |
</member>
|
1709 |
<member name="P:RestSharp.RestResponseBase.ContentLength"> |
1710 |
<summary>
|
1711 |
Length in bytes of the response content |
1712 |
</summary>
|
1713 |
</member>
|
1714 |
<member name="P:RestSharp.RestResponseBase.ContentEncoding"> |
1715 |
<summary>
|
1716 |
Encoding of the response content |
1717 |
</summary>
|
1718 |
</member>
|
1719 |
<member name="P:RestSharp.RestResponseBase.Content"> |
1720 |
<summary>
|
1721 |
String representation of response content |
1722 |
</summary>
|
1723 |
</member>
|
1724 |
<member name="P:RestSharp.RestResponseBase.StatusCode"> |
1725 |
<summary>
|
1726 |
HTTP response status code |
1727 |
</summary>
|
1728 |
</member>
|
1729 |
<member name="P:RestSharp.RestResponseBase.StatusDescription"> |
1730 |
<summary>
|
1731 |
Description of HTTP status returned |
1732 |
</summary>
|
1733 |
</member>
|
1734 |
<member name="P:RestSharp.RestResponseBase.RawBytes"> |
1735 |
<summary>
|
1736 |
Response content |
1737 |
</summary>
|
1738 |
</member>
|
1739 |
<member name="P:RestSharp.RestResponseBase.ResponseUri"> |
1740 |
<summary>
|
1741 |
The URL that actually responded to the content (different from request if redirected) |
1742 |
</summary>
|
1743 |
</member>
|
1744 |
<member name="P:RestSharp.RestResponseBase.Server"> |
1745 |
<summary>
|
1746 |
HttpWebResponse.Server |
1747 |
</summary>
|
1748 |
</member>
|
1749 |
<member name="P:RestSharp.RestResponseBase.Cookies"> |
1750 |
<summary>
|
1751 |
Cookies returned by server with the response |
1752 |
</summary>
|
1753 |
</member>
|
1754 |
<member name="P:RestSharp.RestResponseBase.Headers"> |
1755 |
<summary>
|
1756 |
Headers returned by server with the response |
1757 |
</summary>
|
1758 |
</member>
|
1759 |
<member name="P:RestSharp.RestResponseBase.ResponseStatus"> |
1760 |
<summary>
|
1761 |
Status of the request. Will return Error for transport errors. |
1762 |
HTTP errors will still return ResponseStatus.Completed, check StatusCode instead |
1763 |
</summary>
|
1764 |
</member>
|
1765 |
<member name="P:RestSharp.RestResponseBase.ErrorMessage"> |
1766 |
<summary>
|
1767 |
Transport or other non-HTTP error generated while attempting request |
1768 |
</summary>
|
1769 |
</member>
|
1770 |
<member name="P:RestSharp.RestResponseBase.ErrorException"> |
1771 |
<summary>
|
1772 |
The exception thrown during the request, if any |
1773 |
</summary>
|
1774 |
</member>
|
1775 |
<member name="T:RestSharp.RestResponse`1"> |
1776 |
<summary>
|
1777 |
Container for data sent back from API including deserialized data |
1778 |
</summary>
|
1779 |
<typeparam name="T">Type of data to deserialize to</typeparam> |
1780 |
</member>
|
1781 |
<member name="P:RestSharp.RestResponse`1.Data"> |
1782 |
<summary>
|
1783 |
Deserialized entity data |
1784 |
</summary>
|
1785 |
</member>
|
1786 |
<member name="T:RestSharp.RestResponse"> |
1787 |
<summary>
|
1788 |
Container for data sent back from API |
1789 |
</summary>
|
1790 |
</member>
|
1791 |
<member name="T:RestSharp.Parameter"> |
1792 |
<summary>
|
1793 |
Parameter container for REST requests |
1794 |
</summary>
|
1795 |
</member>
|
1796 |
<member name="M:RestSharp.Parameter.ToString"> |
1797 |
<summary>
|
1798 |
Return a human-readable representation of this parameter |
1799 |
</summary>
|
1800 |
<returns>String</returns> |
1801 |
</member>
|
1802 |
<member name="P:RestSharp.Parameter.Name"> |
1803 |
<summary>
|
1804 |
Name of the parameter |
1805 |
</summary>
|
1806 |
</member>
|
1807 |
<member name="P:RestSharp.Parameter.Value"> |
1808 |
<summary>
|
1809 |
Value of the parameter |
1810 |
</summary>
|
1811 |
</member>
|
1812 |
<member name="P:RestSharp.Parameter.Type"> |
1813 |
<summary>
|
1814 |
Type of the parameter |
1815 |
</summary>
|
1816 |
</member>
|
1817 |
<member name="P:RestSharp.Parameter.ContentType"> |
1818 |
<summary>
|
1819 |
MIME content type of the parameter |
1820 |
</summary>
|
1821 |
</member>
|
1822 |
<member name="T:RestSharp.RestClient"> |
1823 |
<summary>
|
1824 |
Client to translate RestRequests into Http requests and process response result |
1825 |
</summary>
|
1826 |
</member>
|
1827 |
<member name="M:RestSharp.RestClient.#ctor"> |
1828 |
<summary>
|
1829 |
Default constructor that registers default content handlers |
1830 |
</summary>
|
1831 |
</member>
|
1832 |
<member name="M:RestSharp.RestClient.#ctor(System.Uri)"> |
1833 |
<summary>
|
1834 |
Sets the BaseUrl property for requests made by this client instance |
1835 |
</summary>
|
1836 |
<param name="baseUrl"></param> |
1837 |
</member>
|
1838 |
<member name="M:RestSharp.RestClient.#ctor(System.String)"> |
1839 |
<summary>
|
1840 |
Sets the BaseUrl property for requests made by this client instance |
1841 |
</summary>
|
1842 |
<param name="baseUrl"></param> |
1843 |
</member>
|
1844 |
<member name="M:RestSharp.RestClient.AddHandler(System.String,RestSharp.Deserializers.IDeserializer)"> |
1845 |
<summary>
|
1846 |
Registers a content handler to process response content |
1847 |
</summary>
|
1848 |
<param name="contentType">MIME content type of the response content</param> |
1849 |
<param name="deserializer">Deserializer to use to process content</param> |
1850 |
</member>
|
1851 |
<member name="M:RestSharp.RestClient.RemoveHandler(System.String)"> |
1852 |
<summary>
|
1853 |
Remove a content handler for the specified MIME content type |
1854 |
</summary>
|
1855 |
<param name="contentType">MIME content type to remove</param> |
1856 |
</member>
|
1857 |
<member name="M:RestSharp.RestClient.ClearHandlers"> |
1858 |
<summary>
|
1859 |
Remove all content handlers |
1860 |
</summary>
|
1861 |
</member>
|
1862 |
<member name="M:RestSharp.RestClient.GetHandler(System.String)"> |
1863 |
<summary>
|
1864 |
Retrieve the handler for the specified MIME content type |
1865 |
</summary>
|
1866 |
<param name="contentType">MIME content type to retrieve</param> |
1867 |
<returns>IDeserializer instance</returns> |
1868 |
</member>
|
1869 |
<member name="M:RestSharp.RestClient.BuildUri(RestSharp.IRestRequest)"> |
1870 |
<summary>
|
1871 |
Assembles URL to call based on parameters, method and resource |
1872 |
</summary>
|
1873 |
<param name="request">RestRequest to execute</param> |
1874 |
<returns>Assembled System.Uri</returns> |
1875 |
</member>
|
1876 |
<member name="M:RestSharp.RestClient.ExecuteAsync(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle})"> |
1877 |
<summary>
|
1878 |
Executes the request and callback asynchronously, authenticating if needed |
1879 |
</summary>
|
1880 |
<param name="request">Request to be executed</param> |
1881 |
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param> |
1882 |
</member>
|
1883 |
<member name="M:RestSharp.RestClient.ExecuteAsyncGet(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)"> |
1884 |
<summary>
|
1885 |
Executes a GET-style request and callback asynchronously, authenticating if needed |
1886 |
</summary>
|
1887 |
<param name="request">Request to be executed</param> |
1888 |
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param> |
1889 |
<param name="httpMethod">The HTTP method to execute</param> |
1890 |
</member>
|
1891 |
<member name="M:RestSharp.RestClient.ExecuteAsyncPost(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)"> |
1892 |
<summary>
|
1893 |
Executes a POST-style request and callback asynchronously, authenticating if needed |
1894 |
</summary>
|
1895 |
<param name="request">Request to be executed</param> |
1896 |
<param name="callback">Callback function to be executed upon completion providing access to the async handle.</param> |
1897 |
<param name="httpMethod">The HTTP method to execute</param> |
1898 |
</member>
|
1899 |
<member name="M:RestSharp.RestClient.ExecuteAsync``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle})"> |
1900 |
<summary>
|
1901 |
Executes the request and callback asynchronously, authenticating if needed |
1902 |
</summary>
|
1903 |
<typeparam name="T">Target deserialization type</typeparam> |
1904 |
<param name="request">Request to be executed</param> |
1905 |
<param name="callback">Callback function to be executed upon completion</param> |
1906 |
</member>
|
1907 |
<member name="M:RestSharp.RestClient.ExecuteAsyncGet``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)"> |
1908 |
<summary>
|
1909 |
Executes a GET-style request and callback asynchronously, authenticating if needed |
1910 |
</summary>
|
1911 |
<typeparam name="T">Target deserialization type</typeparam> |
1912 |
<param name="request">Request to be executed</param> |
1913 |
<param name="callback">Callback function to be executed upon completion</param> |
1914 |
<param name="httpMethod">The HTTP method to execute</param> |
1915 |
</member>
|
1916 |
<member name="M:RestSharp.RestClient.ExecuteAsyncPost``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)"> |
1917 |
<summary>
|
1918 |
Executes a POST-style request and callback asynchronously, authenticating if needed |
1919 |
</summary>
|
1920 |
<typeparam name="T">Target deserialization type</typeparam> |
1921 |
<param name="request">Request to be executed</param> |
1922 |
<param name="callback">Callback function to be executed upon completion</param> |
1923 |
<param name="httpMethod">The HTTP method to execute</param> |
1924 |
</member>
|
1925 |
<member name="M:RestSharp.RestClient.DownloadData(RestSharp.IRestRequest)"> |
1926 |
<summary>
|
1927 |
Executes the specified request and downloads the response data |
1928 |
</summary>
|
1929 |
<param name="request">Request to execute</param> |
1930 |
<returns>Response data</returns> |
1931 |
</member>
|
1932 |
<member name="M:RestSharp.RestClient.Execute(RestSharp.IRestRequest)"> |
1933 |
<summary>
|
1934 |
Executes the request and returns a response, authenticating if needed |
1935 |
</summary>
|
1936 |
<param name="request">Request to be executed</param> |
1937 |
<returns>RestResponse</returns> |
1938 |
</member>
|
1939 |
<member name="M:RestSharp.RestClient.Execute``1(RestSharp.IRestRequest)"> |
1940 |
<summary>
|
1941 |
Executes the specified request and deserializes the response content using the appropriate content handler |
1942 |
</summary>
|
1943 |
<typeparam name="T">Target deserialization type</typeparam> |
1944 |
<param name="request">Request to execute</param> |
1945 |
<returns>RestResponse[[T]] with deserialized data in Data property</returns> |
1946 |
</member>
|
1947 |
<member name="P:RestSharp.RestClient.MaxRedirects"> |
1948 |
<summary>
|
1949 |
Maximum number of redirects to follow if FollowRedirects is true |
1950 |
</summary>
|
1951 |
</member>
|
1952 |
<member name="P:RestSharp.RestClient.ClientCertificates"> |
1953 |
<summary>
|
1954 |
X509CertificateCollection to be sent with request |
1955 |
</summary>
|
1956 |
</member>
|
1957 |
<member name="P:RestSharp.RestClient.Proxy"> |
1958 |
<summary>
|
1959 |
Proxy to use for requests made by this client instance. |
1960 |
Passed on to underlying WebRequest if set. |
1961 |
</summary>
|
1962 |
</member>
|
1963 |
<member name="P:RestSharp.RestClient.CachePolicy"> |
1964 |
<summary>
|
1965 |
The cache policy to use for requests initiated by this client instance. |
1966 |
</summary>
|
1967 |
</member>
|
1968 |
<member name="P:RestSharp.RestClient.FollowRedirects"> |
1969 |
<summary>
|
1970 |
Default is true. Determine whether or not requests that result in |
1971 |
HTTP status codes of 3xx should follow returned redirect |
1972 |
</summary>
|
1973 |
</member>
|
1974 |
<member name="P:RestSharp.RestClient.CookieContainer"> |
1975 |
<summary>
|
1976 |
The CookieContainer used for requests made by this client instance |
1977 |
</summary>
|
1978 |
</member>
|
1979 |
<member name="P:RestSharp.RestClient.UserAgent"> |
1980 |
<summary>
|
1981 |
UserAgent to use for requests made by this client instance |
1982 |
</summary>
|
1983 |
</member>
|
1984 |
<member name="P:RestSharp.RestClient.Timeout"> |
1985 |
<summary>
|
1986 |
Timeout in milliseconds to use for requests made by this client instance |
1987 |
</summary>
|
1988 |
</member>
|
1989 |
<member name="P:RestSharp.RestClient.ReadWriteTimeout"> |
1990 |
<summary>
|
1991 |
The number of milliseconds before the writing or reading times out. |
1992 |
</summary>
|
1993 |
</member>
|
1994 |
<member name="P:RestSharp.RestClient.UseSynchronizationContext"> |
1995 |
<summary>
|
1996 |
Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked |
1997 |
</summary>
|
1998 |
</member>
|
1999 |
<member name="P:RestSharp.RestClient.Authenticator"> |
2000 |
<summary>
|
2001 |
Authenticator to use for requests made by this client instance |
2002 |
</summary>
|
2003 |
</member>
|
2004 |
<member name="P:RestSharp.RestClient.BaseUrl"> |
2005 |
<summary>
|
2006 |
Combined with Request.Resource to construct URL for request |
2007 |
Should include scheme and domain without trailing slash. |
2008 |
</summary>
|
2009 |
<example>
|
2010 |
client.BaseUrl = new Uri("http://example.com"); |
2011 |
</example>
|
2012 |
</member>
|
2013 |
<member name="P:RestSharp.RestClient.DefaultParameters"> |
2014 |
<summary>
|
2015 |
Parameters included with every request made with this instance of RestClient |
2016 |
If specified in both client and request, the request wins |
2017 |
</summary>
|
2018 |
</member>
|
2019 |
<member name="T:RestSharp.RestRequest"> |
2020 |
<summary>
|
2021 |
Container for data used to make requests |
2022 |
</summary>
|
2023 |
</member>
|
2024 |
<member name="M:RestSharp.RestRequest.#ctor"> |
2025 |
<summary>
|
2026 |
Default constructor |
2027 |
</summary>
|
2028 |
</member>
|
2029 |
<member name="M:RestSharp.RestRequest.#ctor(RestSharp.Method)"> |
2030 |
<summary>
|
2031 |
Sets Method property to value of method |
2032 |
</summary>
|
2033 |
<param name="method">Method to use for this request</param> |
2034 |
</member>
|
2035 |
<member name="M:RestSharp.RestRequest.#ctor(System.String)"> |
2036 |
<summary>
|
2037 |
Sets Resource property |
2038 |
</summary>
|
2039 |
<param name="resource">Resource to use for this request</param> |
2040 |
</member>
|
2041 |
<member name="M:RestSharp.RestRequest.#ctor(System.String,RestSharp.Method)"> |
2042 |
<summary>
|
2043 |
Sets Resource and Method properties |
2044 |
</summary>
|
2045 |
<param name="resource">Resource to use for this request</param> |
2046 |
<param name="method">Method to use for this request</param> |
2047 |
</member>
|
2048 |
<member name="M:RestSharp.RestRequest.#ctor(System.Uri)"> |
2049 |
<summary>
|
2050 |
Sets Resource property |
2051 |
</summary>
|
2052 |
<param name="resource">Resource to use for this request</param> |
2053 |
</member>
|
2054 |
<member name="M:RestSharp.RestRequest.#ctor(System.Uri,RestSharp.Method)"> |
2055 |
<summary>
|
2056 |
Sets Resource and Method properties |
2057 |
</summary>
|
2058 |
<param name="resource">Resource to use for this request</param> |
2059 |
<param name="method">Method to use for this request</param> |
2060 |
</member>
|
2061 |
<member name="M:RestSharp.RestRequest.AddFile(System.String,System.String,System.String)"> |
2062 |
<summary>
|
2063 |
Adds a file to the Files collection to be included with a POST or PUT request |
2064 |
(other methods do not support file uploads). |
2065 |
</summary>
|
2066 |
<param name="name">The parameter name to use in the request</param> |
2067 |
<param name="path">Full path to file to upload</param> |
2068 |
<param name="contentType">The MIME type of the file to upload</param> |
2069 |
<returns>This request</returns> |
2070 |
</member>
|
2071 |
<member name="M:RestSharp.RestRequest.AddFile(System.String,System.Byte[],System.String,System.String)"> |
2072 |
<summary>
|
2073 |
Adds the bytes to the Files collection with the specified file name |
2074 |
</summary>
|
2075 |
<param name="name">The parameter name to use in the request</param> |
2076 |
<param name="bytes">The file data</param> |
2077 |
<param name="fileName">The file name to use for the uploaded file</param> |
2078 |
<param name="contentType">The MIME type of the file to upload</param> |
2079 |
<returns>This request</returns> |
2080 |
</member>
|
2081 |
<member name="M:RestSharp.RestRequest.AddFile(System.String,System.Action{System.IO.Stream},System.String,System.String)"> |
2082 |
<summary>
|
2083 |
Adds the bytes to the Files collection with the specified file name and content type |
2084 |
</summary>
|
2085 |
<param name="name">The parameter name to use in the request</param> |
2086 |
<param name="writer">A function that writes directly to the stream. Should NOT close the stream.</param> |
2087 |
<param name="fileName">The file name to use for the uploaded file</param> |
2088 |
<param name="contentType">The MIME type of the file to upload</param> |
2089 |
<returns>This request</returns> |
2090 |
</member>
|
2091 |
<member name="M:RestSharp.RestRequest.AddFileBytes(System.String,System.Byte[],System.String,System.String)"> |
2092 |
<summary>
|
2093 |
Add bytes to the Files collection as if it was a file of specific type |
2094 |
</summary>
|
2095 |
<param name="name">A form parameter name</param> |
2096 |
<param name="bytes">The file data</param> |
2097 |
<param name="filename">The file name to use for the uploaded file</param> |
2098 |
<param name="contentType">Specific content type. Es: application/x-gzip </param> |
2099 |
<returns></returns> |
2100 |
</member>
|
2101 |
<member name="M:RestSharp.RestRequest.AddBody(System.Object,System.String)"> |
2102 |
<summary>
|
2103 |
Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer |
2104 |
The default format is XML. Change RequestFormat if you wish to use a different serialization format. |
2105 |
</summary>
|
2106 |
<param name="obj">The object to serialize</param> |
2107 |
<param name="xmlNamespace">The XML namespace to use when serializing</param> |
2108 |
<returns>This request</returns> |
2109 |
</member>
|
2110 |
<member name="M:RestSharp.RestRequest.AddBody(System.Object)"> |
2111 |
<summary>
|
2112 |
Serializes obj to data format specified by RequestFormat and adds it to the request body. |
2113 |
The default format is XML. Change RequestFormat if you wish to use a different serialization format. |
2114 |
</summary>
|
2115 |
<param name="obj">The object to serialize</param> |
2116 |
<returns>This request</returns> |
2117 |
</member>
|
2118 |
<member name="M:RestSharp.RestRequest.AddJsonBody(System.Object)"> |
2119 |
<summary>
|
2120 |
Serializes obj to JSON format and adds it to the request body. |
2121 |
</summary>
|
2122 |
<param name="obj">The object to serialize</param> |
2123 |
<returns>This request</returns> |
2124 |
</member>
|
2125 |
<member name="M:RestSharp.RestRequest.AddXmlBody(System.Object)"> |
2126 |
<summary>
|
2127 |
Serializes obj to XML format and adds it to the request body. |
2128 |
</summary>
|
2129 |
<param name="obj">The object to serialize</param> |
2130 |
<returns>This request</returns> |
2131 |
</member>
|
2132 |
<member name="M:RestSharp.RestRequest.AddXmlBody(System.Object,System.String)"> |
2133 |
<summary>
|
2134 |
Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer |
2135 |
Serializes obj to XML format and passes xmlNamespace then adds it to the request body. |
2136 |
</summary>
|
2137 |
<param name="obj">The object to serialize</param> |
2138 |
<param name="xmlNamespace">The XML namespace to use when serializing</param> |
2139 |
<returns>This request</returns> |
2140 |
</member>
|
2141 |
<member name="M:RestSharp.RestRequest.AddObject(System.Object,System.String[])"> |
2142 |
<summary>
|
2143 |
Calls AddParameter() for all public, readable properties specified in the includedProperties list |
2144 |
</summary>
|
2145 |
<example>
|
2146 |
request.AddObject(product, "ProductId", "Price", ...); |
2147 |
</example>
|
2148 |
<param name="obj">The object with properties to add as parameters</param> |
2149 |
<param name="includedProperties">The names of the properties to include</param> |
2150 |
<returns>This request</returns> |
2151 |
</member>
|
2152 |
<member name="M:RestSharp.RestRequest.AddObject(System.Object)"> |
2153 |
<summary>
|
2154 |
Calls AddParameter() for all public, readable properties of obj |
2155 |
</summary>
|
2156 |
<param name="obj">The object with properties to add as parameters</param> |
2157 |
<returns>This request</returns> |
2158 |
</member>
|
2159 |
<member name="M:RestSharp.RestRequest.AddParameter(RestSharp.Parameter)"> |
2160 |
<summary>
|
2161 |
Add the parameter to the request |
2162 |
</summary>
|
2163 |
<param name="p">Parameter to add</param> |
2164 |
<returns></returns> |
2165 |
</member>
|
2166 |
<member name="M:RestSharp.RestRequest.AddParameter(System.String,System.Object)"> |
2167 |
<summary>
|
2168 |
Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) |
2169 |
</summary>
|
2170 |
<param name="name">Name of the parameter</param> |
2171 |
<param name="value">Value of the parameter</param> |
2172 |
<returns>This request</returns> |
2173 |
</member>
|
2174 |
<member name="M:RestSharp.RestRequest.AddParameter(System.String,System.Object,RestSharp.ParameterType)"> |
2175 |
<summary>
|
2176 |
Adds a parameter to the request. There are four types of parameters: |
2177 |
- GetOrPost: Either a QueryString value or encoded form value based on method |
2178 |
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection |
2179 |
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} |
2180 |
- RequestBody: Used by AddBody() (not recommended to use directly) |
2181 |
</summary>
|
2182 |
<param name="name">Name of the parameter</param> |
2183 |
<param name="value">Value of the parameter</param> |
2184 |
<param name="type">The type of parameter to add</param> |
2185 |
<returns>This request</returns> |
2186 |
</member>
|
2187 |
<member name="M:RestSharp.RestRequest.AddParameter(System.String,System.Object,System.String,RestSharp.ParameterType)"> |
2188 |
<summary>
|
2189 |
Adds a parameter to the request. There are four types of parameters: |
2190 |
- GetOrPost: Either a QueryString value or encoded form value based on method |
2191 |
- HttpHeader: Adds the name/value pair to the HTTP request's Headers collection |
2192 |
- UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} |
2193 |
- RequestBody: Used by AddBody() (not recommended to use directly) |
2194 |
</summary>
|
2195 |
<param name="name">Name of the parameter</param> |
2196 |
<param name="value">Value of the parameter</param> |
2197 |
<param name="contentType">Content-Type of the parameter</param> |
2198 |
<param name="type">The type of parameter to add</param> |
2199 |
<returns>This request</returns> |
2200 |
</member>
|
2201 |
<member name="M:RestSharp.RestRequest.AddHeader(System.String,System.String)"> |
2202 |
<summary>
|
2203 |
Shortcut to AddParameter(name, value, HttpHeader) overload |
2204 |
</summary>
|
2205 |
<param name="name">Name of the header to add</param> |
2206 |
<param name="value">Value of the header to add</param> |
2207 |
<returns></returns> |
2208 |
</member>
|
2209 |
<member name="M:RestSharp.RestRequest.AddCookie(System.String,System.String)"> |
2210 |
<summary>
|
2211 |
Shortcut to AddParameter(name, value, Cookie) overload |
2212 |
</summary>
|
2213 |
<param name="name">Name of the cookie to add</param> |
2214 |
<param name="value">Value of the cookie to add</param> |
2215 |
<returns></returns> |
2216 |
</member>
|
2217 |
<member name="M:RestSharp.RestRequest.AddUrlSegment(System.String,System.String)"> |
2218 |
<summary>
|
2219 |
Shortcut to AddParameter(name, value, UrlSegment) overload |
2220 |
</summary>
|
2221 |
<param name="name">Name of the segment to add</param> |
2222 |
<param name="value">Value of the segment to add</param> |
2223 |
<returns></returns> |
2224 |
</member>
|
2225 |
<member name="M:RestSharp.RestRequest.AddQueryParameter(System.String,System.String)"> |
2226 |
<summary>
|
2227 |
Shortcut to AddParameter(name, value, QueryString) overload |
2228 |
</summary>
|
2229 |
<param name="name">Name of the parameter to add</param> |
2230 |
<param name="value">Value of the parameter to add</param> |
2231 |
<returns></returns> |
2232 |
</member>
|
2233 |
<member name="M:RestSharp.RestRequest.IncreaseNumAttempts"> |
2234 |
<summary>
|
2235 |
Internal Method so that RestClient can increase the number of attempts |
2236 |
</summary>
|
2237 |
</member>
|
2238 |
<member name="P:RestSharp.RestRequest.AlwaysMultipartFormData"> |
2239 |
<summary>
|
2240 |
Always send a multipart/form-data request - even when no Files are present. |
2241 |
</summary>
|
2242 |
</member>
|
2243 |
<member name="P:RestSharp.RestRequest.JsonSerializer"> |
2244 |
<summary>
|
2245 |
Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. |
2246 |
By default the included JsonSerializer is used (currently using JSON.NET default serialization). |
2247 |
</summary>
|
2248 |
</member>
|
2249 |
<member name="P:RestSharp.RestRequest.XmlSerializer"> |
2250 |
<summary>
|
2251 |
Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. |
2252 |
By default the included XmlSerializer is used. |
2253 |
</summary>
|
2254 |
</member>
|
2255 |
<member name="P:RestSharp.RestRequest.ResponseWriter"> |
2256 |
<summary>
|
2257 |
Set this to write response to Stream rather than reading into memory. |
2258 |
</summary>
|
2259 |
</member>
|
2260 |
<member name="P:RestSharp.RestRequest.UseDefaultCredentials"> |
2261 |
<summary>
|
2262 |
Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) |
2263 |
will be sent along to the server. The default is false. |
2264 |
</summary>
|
2265 |
</member>
|
2266 |
<member name="P:RestSharp.RestRequest.Parameters"> |
2267 |
<summary>
|
2268 |
Container of all HTTP parameters to be passed with the request. |
2269 |
See AddParameter() for explanation of the types of parameters that can be passed |
2270 |
</summary>
|
2271 |
</member>
|
2272 |
<member name="P:RestSharp.RestRequest.Files"> |
2273 |
<summary>
|
2274 |
Container of all the files to be uploaded with the request. |
2275 |
</summary>
|
2276 |
</member>
|
2277 |
<member name="P:RestSharp.RestRequest.Method"> |
2278 |
<summary>
|
2279 |
Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS |
2280 |
Default is GET |
2281 |
</summary>
|
2282 |
</member>
|
2283 |
<member name="P:RestSharp.RestRequest.Resource"> |
2284 |
<summary>
|
2285 |
The Resource URL to make the request against. |
2286 |
Tokens are substituted with UrlSegment parameters and match by name. |
2287 |
Should not include the scheme or domain. Do not include leading slash. |
2288 |
Combined with RestClient.BaseUrl to assemble final URL: |
2289 |
{BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) |
2290 |
</summary>
|
2291 |
<example>
|
2292 |
// example for url token replacement |
2293 |
request.Resource = "Products/{ProductId}"; |
2294 |
request.AddParameter("ProductId", 123, ParameterType.UrlSegment); |
2295 |
</example>
|
2296 |
</member>
|
2297 |
<member name="P:RestSharp.RestRequest.RequestFormat"> |
2298 |
<summary>
|
2299 |
Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. |
2300 |
By default XmlSerializer is used. |
2301 |
</summary>
|
2302 |
</member>
|
2303 |
<member name="P:RestSharp.RestRequest.RootElement"> |
2304 |
<summary>
|
2305 |
Used by the default deserializers to determine where to start deserializing from. |
2306 |
Can be used to skip container or root elements that do not have corresponding deserialzation targets. |
2307 |
</summary>
|
2308 |
</member>
|
2309 |
<member name="P:RestSharp.RestRequest.OnBeforeDeserialization"> |
2310 |
<summary>
|
2311 |
A function to run prior to deserializing starting (e.g. change settings if error encountered) |
2312 |
</summary>
|
2313 |
</member>
|
2314 |
<member name="P:RestSharp.RestRequest.DateFormat"> |
2315 |
<summary>
|
2316 |
Used by the default deserializers to explicitly set which date format string to use when parsing dates. |
2317 |
</summary>
|
2318 |
</member>
|
2319 |
<member name="P:RestSharp.RestRequest.XmlNamespace"> |
2320 |
<summary>
|
2321 |
Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. |
2322 |
</summary>
|
2323 |
</member>
|
2324 |
<member name="P:RestSharp.RestRequest.Credentials"> |
2325 |
<summary>
|
2326 |
In general you would not need to set this directly. Used by the NtlmAuthenticator. |
2327 |
</summary>
|
2328 |
</member>
|
2329 |
<member name="P:RestSharp.RestRequest.UserState"> |
2330 |
<summary>
|
2331 |
Gets or sets a user-defined state object that contains information about a request and which can be later |
2332 |
retrieved when the request completes. |
2333 |
</summary>
|
2334 |
</member>
|
2335 |
<member name="P:RestSharp.RestRequest.Timeout"> |
2336 |
<summary>
|
2337 |
Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. |
2338 |
</summary>
|
2339 |
</member>
|
2340 |
<member name="P:RestSharp.RestRequest.ReadWriteTimeout"> |
2341 |
<summary>
|
2342 |
The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. |
2343 |
</summary>
|
2344 |
</member>
|
2345 |
<member name="P:RestSharp.RestRequest.Attempts"> |
2346 |
<summary>
|
2347 |
How many attempts were made to send this Request? |
2348 |
</summary>
|
2349 |
<remarks>
|
2350 |
This Number is incremented each time the RestClient sends the request. |
2351 |
Useful when using Asynchronous Execution with Callbacks |
2352 |
</remarks>
|
2353 |
</member>
|
2354 |
<member name="P:RestSharp.RestResponseCookie.Comment"> |
2355 |
<summary>
|
2356 |
Comment of the cookie |
2357 |
</summary>
|
2358 |
</member>
|
2359 |
<member name="P:RestSharp.RestResponseCookie.CommentUri"> |
2360 |
<summary>
|
2361 |
Comment of the cookie |
2362 |
</summary>
|
2363 |
</member>
|
2364 |
<member name="P:RestSharp.RestResponseCookie.Discard"> |
2365 |
<summary>
|
2366 |
Indicates whether the cookie should be discarded at the end of the session |
2367 |
</summary>
|
2368 |
</member>
|
2369 |
<member name="P:RestSharp.RestResponseCookie.Domain"> |
2370 |
<summary>
|
2371 |
Domain of the cookie |
2372 |
</summary>
|
2373 |
</member>
|
2374 |
<member name="P:RestSharp.RestResponseCookie.Expired"> |
2375 |
<summary>
|
2376 |
Indicates whether the cookie is expired |
2377 |
</summary>
|
2378 |
</member>
|
2379 |
<member name="P:RestSharp.RestResponseCookie.Expires"> |
2380 |
<summary>
|
2381 |
Date and time that the cookie expires |
2382 |
</summary>
|
2383 |
</member>
|
2384 |
<member name="P:RestSharp.RestResponseCookie.HttpOnly"> |
2385 |
<summary>
|
2386 |
Indicates that this cookie should only be accessed by the server |
2387 |
</summary>
|
2388 |
</member>
|
2389 |
<member name="P:RestSharp.RestResponseCookie.Name"> |
2390 |
<summary>
|
2391 |
Name of the cookie |
2392 |
</summary>
|
2393 |
</member>
|
2394 |
<member name="P:RestSharp.RestResponseCookie.Path"> |
2395 |
<summary>
|
2396 |
Path of the cookie |
2397 |
</summary>
|
2398 |
</member>
|
2399 |
<member name="P:RestSharp.RestResponseCookie.Port"> |
2400 |
<summary>
|
2401 |
Port of the cookie |
2402 |
</summary>
|
2403 |
</member>
|
2404 |
<member name="P:RestSharp.RestResponseCookie.Secure"> |
2405 |
<summary>
|
2406 |
Indicates that the cookie should only be sent over secure channels |
2407 |
</summary>
|
2408 |
</member>
|
2409 |
<member name="P:RestSharp.RestResponseCookie.TimeStamp"> |
2410 |
<summary>
|
2411 |
Date and time the cookie was created |
2412 |
</summary>
|
2413 |
</member>
|
2414 |
<member name="P:RestSharp.RestResponseCookie.Value"> |
2415 |
<summary>
|
2416 |
Value of the cookie |
2417 |
</summary>
|
2418 |
</member>
|
2419 |
<member name="P:RestSharp.RestResponseCookie.Version"> |
2420 |
<summary>
|
2421 |
Version of the cookie |
2422 |
</summary>
|
2423 |
</member>
|
2424 |
<member name="T:RestSharp.Deserializers.DotNetXmlDeserializer"> |
2425 |
<summary>
|
2426 |
Wrapper for System.Xml.Serialization.XmlSerializer. |
2427 |
</summary>
|
2428 |
</member>
|
2429 |
<member name="T:RestSharp.Serializers.DotNetXmlSerializer"> |
2430 |
<summary>
|
2431 |
Wrapper for System.Xml.Serialization.XmlSerializer. |
2432 |
</summary>
|
2433 |
</member>
|
2434 |
<member name="M:RestSharp.Serializers.DotNetXmlSerializer.#ctor"> |
2435 |
<summary>
|
2436 |
Default constructor, does not specify namespace |
2437 |
</summary>
|
2438 |
</member>
|
2439 |
<member name="M:RestSharp.Serializers.DotNetXmlSerializer.#ctor(System.String)"> |
2440 |
<summary>
|
2441 |
Specify the namespaced to be used when serializing |
2442 |
</summary>
|
2443 |
<param name="namespace">XML namespace</param> |
2444 |
</member>
|
2445 |
<member name="M:RestSharp.Serializers.DotNetXmlSerializer.Serialize(System.Object)"> |
2446 |
<summary>
|
2447 |
Serialize the object as XML |
2448 |
</summary>
|
2449 |
<param name="obj">Object to serialize</param> |
2450 |
<returns>XML as string</returns> |
2451 |
</member>
|
2452 |
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.RootElement"> |
2453 |
<summary>
|
2454 |
Name of the root element to use when serializing |
2455 |
</summary>
|
2456 |
</member>
|
2457 |
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.Namespace"> |
2458 |
<summary>
|
2459 |
XML namespace to use when serializing |
2460 |
</summary>
|
2461 |
</member>
|
2462 |
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.DateFormat"> |
2463 |
<summary>
|
2464 |
Format string to use when serializing dates |
2465 |
</summary>
|
2466 |
</member>
|
2467 |
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.ContentType"> |
2468 |
<summary>
|
2469 |
Content type for serialized content |
2470 |
</summary>
|
2471 |
</member>
|
2472 |
<member name="P:RestSharp.Serializers.DotNetXmlSerializer.Encoding"> |
2473 |
<summary>
|
2474 |
Encoding for serialized content |
2475 |
</summary>
|
2476 |
</member>
|
2477 |
<member name="T:RestSharp.Serializers.DotNetXmlSerializer.EncodingStringWriter"> |
2478 |
<summary>
|
2479 |
Need to subclass StringWriter in order to override Encoding |
2480 |
</summary>
|
2481 |
</member>
|
2482 |
<member name="T:RestSharp.Serializers.JsonSerializer"> |
2483 |
<summary>
|
2484 |
Default JSON serializer for request bodies |
2485 |
Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes |
2486 |
</summary>
|
2487 |
</member>
|
2488 |
<member name="M:RestSharp.Serializers.JsonSerializer.#ctor"> |
2489 |
<summary>
|
2490 |
Default serializer |
2491 |
</summary>
|
2492 |
</member>
|
2493 |
<member name="M:RestSharp.Serializers.JsonSerializer.Serialize(System.Object)"> |
2494 |
<summary>
|
2495 |
Serialize the object as JSON |
2496 |
</summary>
|
2497 |
<param name="obj">Object to serialize</param> |
2498 |
<returns>JSON as String</returns> |
2499 |
</member>
|
2500 |
<member name="P:RestSharp.Serializers.JsonSerializer.DateFormat"> |
2501 |
<summary>
|
2502 |
Unused for JSON Serialization |
2503 |
</summary>
|
2504 |
</member>
|
2505 |
<member name="P:RestSharp.Serializers.JsonSerializer.RootElement"> |
2506 |
<summary>
|
2507 |
Unused for JSON Serialization |
2508 |
</summary>
|
2509 |
</member>
|
2510 |
<member name="P:RestSharp.Serializers.JsonSerializer.Namespace"> |
2511 |
<summary>
|
2512 |
Unused for JSON Serialization |
2513 |
</summary>
|
2514 |
</member>
|
2515 |
<member name="P:RestSharp.Serializers.JsonSerializer.ContentType"> |
2516 |
<summary>
|
2517 |
Content type for serialized content |
2518 |
</summary>
|
2519 |
</member>
|
2520 |
<member name="T:RestSharp.Serializers.SerializeAsAttribute"> |
2521 |
<summary>
|
2522 |
Allows control how class and property names and values are serialized by XmlSerializer |
2523 |
Currently not supported with the JsonSerializer |
2524 |
When specified at the property level the class-level specification is overridden |
2525 |
</summary>
|
2526 |
</member>
|
2527 |
<member name="M:RestSharp.Serializers.SerializeAsAttribute.TransformName(System.String)"> |
2528 |
<summary>
|
2529 |
Called by the attribute when NameStyle is speficied |
2530 |
</summary>
|
2531 |
<param name="input">The string to transform</param> |
2532 |
<returns>String</returns> |
2533 |
</member>
|
2534 |
<member name="P:RestSharp.Serializers.SerializeAsAttribute.Name"> |
2535 |
<summary>
|
2536 |
The name to use for the serialized element |
2537 |
</summary>
|
2538 |
</member>
|
2539 |
<member name="P:RestSharp.Serializers.SerializeAsAttribute.Attribute"> |
2540 |
<summary>
|
2541 |
Sets the value to be serialized as an Attribute instead of an Element |
2542 |
</summary>
|
2543 |
</member>
|
2544 |
<member name="P:RestSharp.Serializers.SerializeAsAttribute.Culture"> |
2545 |
<summary>
|
2546 |
The culture to use when serializing |
2547 |
</summary>
|
2548 |
</member>
|
2549 |
<member name="P:RestSharp.Serializers.SerializeAsAttribute.NameStyle"> |
2550 |
<summary>
|
2551 |
Transforms the casing of the name based on the selected value. |
2552 |
</summary>
|
2553 |
</member>
|
2554 |
<member name="P:RestSharp.Serializers.SerializeAsAttribute.Index"> |
2555 |
<summary>
|
2556 |
The order to serialize the element. Default is int.MaxValue. |
2557 |
</summary>
|
2558 |
</member>
|
2559 |
<member name="T:RestSharp.Serializers.NameStyle"> |
2560 |
<summary>
|
2561 |
Options for transforming casing of element names |
2562 |
</summary>
|
2563 |
</member>
|
2564 |
<member name="T:RestSharp.Serializers.XmlSerializer"> |
2565 |
<summary>
|
2566 |
Default XML Serializer |
2567 |
</summary>
|
2568 |
</member>
|
2569 |
<member name="M:RestSharp.Serializers.XmlSerializer.#ctor"> |
2570 |
<summary>
|
2571 |
Default constructor, does not specify namespace |
2572 |
</summary>
|
2573 |
</member>
|
2574 |
<member name="M:RestSharp.Serializers.XmlSerializer.#ctor(System.String)"> |
2575 |
<summary>
|
2576 |
Specify the namespaced to be used when serializing |
2577 |
</summary>
|
2578 |
<param name="namespace">XML namespace</param> |
2579 |
</member>
|
2580 |
<member name="M:RestSharp.Serializers.XmlSerializer.Serialize(System.Object)"> |
2581 |
<summary>
|
2582 |
Serialize the object as XML |
2583 |
</summary>
|
2584 |
<param name="obj">Object to serialize</param> |
2585 |
<returns>XML as string</returns> |
2586 |
</member>
|
2587 |
<member name="M:RestSharp.Serializers.XmlSerializer.IsNumeric(System.Object)"> |
2588 |
<summary>
|
2589 |
Determines if a given object is numeric in any way |
2590 |
(can be integer, double, null, etc). |
2591 |
</summary>
|
2592 |
</member>
|
2593 |
<member name="P:RestSharp.Serializers.XmlSerializer.RootElement"> |
2594 |
<summary>
|
2595 |
Name of the root element to use when serializing |
2596 |
</summary>
|
2597 |
</member>
|
2598 |
<member name="P:RestSharp.Serializers.XmlSerializer.Namespace"> |
2599 |
<summary>
|
2600 |
XML namespace to use when serializing |
2601 |
</summary>
|
2602 |
</member>
|
2603 |
<member name="P:RestSharp.Serializers.XmlSerializer.DateFormat"> |
2604 |
<summary>
|
2605 |
Format string to use when serializing dates |
2606 |
</summary>
|
2607 |
</member>
|
2608 |
<member name="P:RestSharp.Serializers.XmlSerializer.ContentType"> |
2609 |
<summary>
|
2610 |
Content type for serialized content |
2611 |
</summary>
|
2612 |
</member>
|
2613 |
<member name="T:RestSharp.JsonArray"> |
2614 |
<summary>
|
2615 |
Represents the json array. |
2616 |
</summary>
|
2617 |
</member>
|
2618 |
<member name="M:RestSharp.JsonArray.#ctor"> |
2619 |
<summary>
|
2620 |
Initializes a new instance of the <see cref="T:RestSharp.JsonArray"/> class. |
2621 |
</summary>
|
2622 |
</member>
|
2623 |
<member name="M:RestSharp.JsonArray.#ctor(System.Int32)"> |
2624 |
<summary>
|
2625 |
Initializes a new instance of the <see cref="T:RestSharp.JsonArray"/> class. |
2626 |
</summary>
|
2627 |
<param name="capacity">The capacity of the json array.</param> |
2628 |
</member>
|
2629 |
<member name="M:RestSharp.JsonArray.ToString"> |
2630 |
<summary>
|
2631 |
The json representation of the array. |
2632 |
</summary>
|
2633 |
<returns>The json representation of the array.</returns> |
2634 |
</member>
|
2635 |
<member name="T:RestSharp.JsonObject"> |
2636 |
<summary>
|
2637 |
Represents the json object. |
2638 |
</summary>
|
2639 |
</member>
|
2640 |
<member name="F:RestSharp.JsonObject._members"> |
2641 |
<summary>
|
2642 |
The internal member dictionary. |
2643 |
</summary>
|
2644 |
</member>
|
2645 |
<member name="M:RestSharp.JsonObject.#ctor"> |
2646 |
<summary>
|
2647 |
Initializes a new instance of <see cref="T:RestSharp.JsonObject"/>. |
2648 |
</summary>
|
2649 |
</member>
|
2650 |
<member name="M:RestSharp.JsonObject.#ctor(System.Collections.Generic.IEqualityComparer{System.String})"> |
2651 |
<summary>
|
2652 |
Initializes a new instance of <see cref="T:RestSharp.JsonObject"/>. |
2653 |
</summary>
|
2654 |
<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> |
2655 |
</member>
|
2656 |
<member name="M:RestSharp.JsonObject.Add(System.String,System.Object)"> |
2657 |
<summary>
|
2658 |
Adds the specified key. |
2659 |
</summary>
|
2660 |
<param name="key">The key.</param> |
2661 |
<param name="value">The value.</param> |
2662 |
</member>
|
2663 |
<member name="M:RestSharp.JsonObject.ContainsKey(System.String)"> |
2664 |
<summary>
|
2665 |
Determines whether the specified key contains key. |
2666 |
</summary>
|
2667 |
<param name="key">The key.</param> |
2668 |
<returns>
|
2669 |
<c>true</c> if the specified key contains key; otherwise, <c>false</c>. |
2670 |
</returns>
|
2671 |
</member>
|
2672 |
<member name="M:RestSharp.JsonObject.Remove(System.String)"> |
2673 |
<summary>
|
2674 |
Removes the specified key. |
2675 |
</summary>
|
2676 |
<param name="key">The key.</param> |
2677 |
<returns></returns> |
2678 |
</member>
|
2679 |
<member name="M:RestSharp.JsonObject.TryGetValue(System.String,System.Object@)"> |
2680 |
<summary>
|
2681 |
Tries the get value. |
2682 |
</summary>
|
2683 |
<param name="key">The key.</param> |
2684 |
<param name="value">The value.</param> |
2685 |
<returns></returns> |
2686 |
</member>
|
2687 |
<member name="M:RestSharp.JsonObject.Add(System.Collections.Generic.KeyValuePair{System.String,System.Object})"> |
2688 |
<summary>
|
2689 |
Adds the specified item. |
2690 |
</summary>
|
2691 |
<param name="item">The item.</param> |
2692 |
</member>
|
2693 |
<member name="M:RestSharp.JsonObject.Clear"> |
2694 |
<summary>
|
2695 |
Clears this instance. |
2696 |
</summary>
|
2697 |
</member>
|
2698 |
<member name="M:RestSharp.JsonObject.Contains(System.Collections.Generic.KeyValuePair{System.String,System.Object})"> |
2699 |
<summary>
|
2700 |
Determines whether [contains] [the specified item]. |
2701 |
</summary>
|
2702 |
<param name="item">The item.</param> |
2703 |
<returns>
|
2704 |
<c>true</c> if [contains] [the specified item]; otherwise, <c>false</c>. |
2705 |
</returns>
|
2706 |
</member>
|
2707 |
<member name="M:RestSharp.JsonObject.CopyTo(System.Collections.Generic.KeyValuePair{System.String,System.Object}[],System.Int32)"> |
2708 |
<summary>
|
2709 |
Copies to. |
2710 |
</summary>
|
2711 |
<param name="array">The array.</param> |
2712 |
<param name="arrayIndex">Index of the array.</param> |
2713 |
</member>
|
2714 |
<member name="M:RestSharp.JsonObject.Remove(System.Collections.Generic.KeyValuePair{System.String,System.Object})"> |
2715 |
<summary>
|
2716 |
Removes the specified item. |
2717 |
</summary>
|
2718 |
<param name="item">The item.</param> |
2719 |
<returns></returns> |
2720 |
</member>
|
2721 |
<member name="M:RestSharp.JsonObject.GetEnumerator"> |
2722 |
<summary>
|
2723 |
Gets the enumerator. |
2724 |
</summary>
|
2725 |
<returns></returns> |
2726 |
</member>
|
2727 |
<member name="M:RestSharp.JsonObject.System#Collections#IEnumerable#GetEnumerator"> |
2728 |
<summary>
|
2729 |
Returns an enumerator that iterates through a collection. |
2730 |
</summary>
|
2731 |
<returns>
|
2732 |
An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection. |
2733 |
</returns>
|
2734 |
</member>
|
2735 |
<member name="M:RestSharp.JsonObject.ToString"> |
2736 |
<summary>
|
2737 |
Returns a json <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. |
2738 |
</summary>
|
2739 |
<returns>
|
2740 |
A json <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. |
2741 |
</returns>
|
2742 |
</member>
|
2743 |
<member name="P:RestSharp.JsonObject.Item(System.Int32)"> |
2744 |
<summary>
|
2745 |
Gets the <see cref="T:System.Object"/> at the specified index. |
2746 |
</summary>
|
2747 |
<value></value> |
2748 |
</member>
|
2749 |
<member name="P:RestSharp.JsonObject.Keys"> |
2750 |
<summary>
|
2751 |
Gets the keys. |
2752 |
</summary>
|
2753 |
<value>The keys.</value> |
2754 |
</member>
|
2755 |
<member name="P:RestSharp.JsonObject.Values"> |
2756 |
<summary>
|
2757 |
Gets the values. |
2758 |
</summary>
|
2759 |
<value>The values.</value> |
2760 |
</member>
|
2761 |
<member name="P:RestSharp.JsonObject.Item(System.String)"> |
2762 |
<summary>
|
2763 |
Gets or sets the <see cref="T:System.Object"/> with the specified key. |
2764 |
</summary>
|
2765 |
<value></value> |
2766 |
</member>
|
2767 |
<member name="P:RestSharp.JsonObject.Count"> |
2768 |
<summary>
|
2769 |
Gets the count. |
2770 |
</summary>
|
2771 |
<value>The count.</value> |
2772 |
</member>
|
2773 |
<member name="P:RestSharp.JsonObject.IsReadOnly"> |
2774 |
<summary>
|
2775 |
Gets a value indicating whether this instance is read only. |
2776 |
</summary>
|
2777 |
<value>
|
2778 |
<c>true</c> if this instance is read only; otherwise, <c>false</c>. |
2779 |
</value>
|
2780 |
</member>
|
2781 |
<member name="T:RestSharp.SimpleJson"> |
2782 |
<summary>
|
2783 |
This class encodes and decodes JSON strings. |
2784 |
Spec. details, see http://www.json.org/ |
2785 |
|
2786 |
JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). |
2787 |
All numbers are parsed to doubles. |
2788 |
</summary>
|
2789 |
</member>
|
2790 |
<member name="M:RestSharp.SimpleJson.DeserializeObject(System.String)"> |
2791 |
<summary>
|
2792 |
Parses the string json into a value |
2793 |
</summary>
|
2794 |
<param name="json">A JSON string.</param> |
2795 |
<returns>An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false</returns> |
2796 |
</member>
|
2797 |
<member name="M:RestSharp.SimpleJson.TryDeserializeObject(System.String,System.Object@)"> |
2798 |
<summary>
|
2799 |
Try parsing the json string into a value. |
2800 |
</summary>
|
2801 |
<param name="json"> |
2802 |
A JSON string. |
2803 |
</param>
|
2804 |
<param name="obj"> |
2805 |
The object. |
2806 |
</param>
|
2807 |
<returns>
|
2808 |
Returns true if successfull otherwise false. |
2809 |
</returns>
|
2810 |
</member>
|
2811 |
<member name="M:RestSharp.SimpleJson.SerializeObject(System.Object,RestSharp.IJsonSerializerStrategy)"> |
2812 |
<summary>
|
2813 |
Converts a IDictionary<string,object> / IList<object> object into a JSON string |
2814 |
</summary>
|
2815 |
<param name="json">A IDictionary<string,object> / IList<object></param> |
2816 |
<param name="jsonSerializerStrategy">Serializer strategy to use</param> |
2817 |
<returns>A JSON encoded string, or null if object 'json' is not serializable</returns> |
2818 |
</member>
|
2819 |
<member name="M:RestSharp.SimpleJson.IsNumeric(System.Object)"> |
2820 |
<summary>
|
2821 |
Determines if a given object is numeric in any way |
2822 |
(can be integer, double, null, etc). |
2823 |
</summary>
|
2824 |
</member>
|
2825 |
<member name="T:RestSharp.Validation.Validate"> |
2826 |
<summary>
|
2827 |
Helper methods for validating values |
2828 |
</summary>
|
2829 |
</member>
|
2830 |
<member name="M:RestSharp.Validation.Validate.IsBetween(System.Int32,System.Int32,System.Int32)"> |
2831 |
<summary>
|
2832 |
Validate an integer value is between the specified values (exclusive of min/max) |
2833 |
</summary>
|
2834 |
<param name="value">Value to validate</param> |
2835 |
<param name="min">Exclusive minimum value</param> |
2836 |
<param name="max">Exclusive maximum value</param> |
2837 |
</member>
|
2838 |
<member name="M:RestSharp.Validation.Validate.IsValidLength(System.String,System.Int32)"> |
2839 |
<summary>
|
2840 |
Validate a string length |
2841 |
</summary>
|
2842 |
<param name="value">String to be validated</param> |
2843 |
<param name="maxSize">Maximum length of the string</param> |
2844 |
</member>
|
2845 |
<member name="T:RestSharp.Validation.Require"> |
2846 |
<summary>
|
2847 |
Helper methods for validating required values |
2848 |
</summary>
|
2849 |
</member>
|
2850 |
<member name="M:RestSharp.Validation.Require.Argument(System.String,System.Object)"> |
2851 |
<summary>
|
2852 |
Require a parameter to not be null |
2853 |
</summary>
|
2854 |
<param name="argumentName">Name of the parameter</param> |
2855 |
<param name="argumentValue">Value of the parameter</param> |
2856 |
</member>
|
2857 |
</members>
|
2858 |
</doc>
|