Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #1539

Merged
merged 2 commits into from Dec 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 14 additions & 14 deletions docs/api/RestSharp.md
Expand Up @@ -7056,7 +7056,7 @@ Type | Description
#### Method `GetAsync<T>(IRestClient, IRestRequest, CancellationToken)`

Execute the request using GET HTTP method. Exception will be thrown if the request does not succeed.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand Down Expand Up @@ -7084,7 +7084,7 @@ Type | Description
#### Method `PostAsync<T>(IRestClient, IRestRequest, CancellationToken)`

Execute the request using POST HTTP method. Exception will be thrown if the request does not succeed.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand Down Expand Up @@ -7112,7 +7112,7 @@ Type | Description
#### Method `PutAsync<T>(IRestClient, IRestRequest, CancellationToken)`

Execute the request using PUT HTTP method. Exception will be thrown if the request does not succeed.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand Down Expand Up @@ -7140,7 +7140,7 @@ Type | Description
#### Method `HeadAsync<T>(IRestClient, IRestRequest, CancellationToken)`

Execute the request using HEAD HTTP method. Exception will be thrown if the request does not succeed.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand Down Expand Up @@ -7168,7 +7168,7 @@ Type | Description
#### Method `OptionsAsync<T>(IRestClient, IRestRequest, CancellationToken)`

Execute the request using OPTIONS HTTP method. Exception will be thrown if the request does not succeed.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand Down Expand Up @@ -7196,7 +7196,7 @@ Type | Description
#### Method `PatchAsync<T>(IRestClient, IRestRequest, CancellationToken)`

Execute the request using PATCH HTTP method. Exception will be thrown if the request does not succeed.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand Down Expand Up @@ -7224,7 +7224,7 @@ Type | Description
#### Method `DeleteAsync<T>(IRestClient, IRestRequest, CancellationToken)`

Execute the request using DELETE HTTP method. Exception will be thrown if the request does not succeed.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand Down Expand Up @@ -7252,7 +7252,7 @@ Type | Description
#### Method `Get<T>(IRestClient, IRestRequest)`

Execute the request using GET HTTP method.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand All @@ -7279,7 +7279,7 @@ Type | Description
#### Method `Post<T>(IRestClient, IRestRequest)`

Execute the request using POST HTTP method.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand All @@ -7306,7 +7306,7 @@ Type | Description
#### Method `Put<T>(IRestClient, IRestRequest)`

Execute the request using PUT HTTP method.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand All @@ -7333,7 +7333,7 @@ Type | Description
#### Method `Head<T>(IRestClient, IRestRequest)`

Execute the request using HEAD HTTP method.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand All @@ -7360,7 +7360,7 @@ Type | Description
#### Method `Options<T>(IRestClient, IRestRequest)`

Execute the request using OPTIONS HTTP method.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand All @@ -7387,7 +7387,7 @@ Type | Description
#### Method `Patch<T>(IRestClient, IRestRequest)`

Execute the request using PATCH HTTP method.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand All @@ -7414,7 +7414,7 @@ Type | Description
#### Method `Delete<T>(IRestClient, IRestRequest)`

Execute the request using DELETE HTTP method.
The response data is deserialzied to the Data property of the returned response object.
The response data is deserialized to the Data property of the returned response object.

##### Syntax
```csharp
Expand Down
30 changes: 15 additions & 15 deletions src/RestSharp/RestClientExtensions.cs
Expand Up @@ -43,7 +43,7 @@ public static IRestResponse<dynamic> ExecuteDynamic(this IRestClient client, IRe

/// <summary>
/// Execute the request using GET HTTP method. Exception will be thrown if the request does not succeed.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -59,7 +59,7 @@ public static async Task<T> GetAsync<T>(this IRestClient client, IRestRequest re

/// <summary>
/// Execute the request using POST HTTP method. Exception will be thrown if the request does not succeed.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -75,7 +75,7 @@ public static async Task<T> PostAsync<T>(this IRestClient client, IRestRequest r

/// <summary>
/// Execute the request using PUT HTTP method. Exception will be thrown if the request does not succeed.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -91,7 +91,7 @@ public static async Task<T> PutAsync<T>(this IRestClient client, IRestRequest re

/// <summary>
/// Execute the request using HEAD HTTP method. Exception will be thrown if the request does not succeed.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -107,7 +107,7 @@ public static async Task<T> HeadAsync<T>(this IRestClient client, IRestRequest r

/// <summary>
/// Execute the request using OPTIONS HTTP method. Exception will be thrown if the request does not succeed.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -123,7 +123,7 @@ public static async Task<T> OptionsAsync<T>(this IRestClient client, IRestReques

/// <summary>
/// Execute the request using PATCH HTTP method. Exception will be thrown if the request does not succeed.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -139,7 +139,7 @@ public static async Task<T> PatchAsync<T>(this IRestClient client, IRestRequest

/// <summary>
/// Execute the request using DELETE HTTP method. Exception will be thrown if the request does not succeed.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -155,7 +155,7 @@ public static async Task<T> DeleteAsync<T>(this IRestClient client, IRestRequest

/// <summary>
/// Execute the request using GET HTTP method.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -166,7 +166,7 @@ public static IRestResponse<T> Get<T>(this IRestClient client, IRestRequest requ

/// <summary>
/// Execute the request using POST HTTP method.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -177,7 +177,7 @@ public static IRestResponse<T> Post<T>(this IRestClient client, IRestRequest req

/// <summary>
/// Execute the request using PUT HTTP method.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -188,7 +188,7 @@ public static IRestResponse<T> Put<T>(this IRestClient client, IRestRequest requ

/// <summary>
/// Execute the request using HEAD HTTP method.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -199,7 +199,7 @@ public static IRestResponse<T> Head<T>(this IRestClient client, IRestRequest req

/// <summary>
/// Execute the request using OPTIONS HTTP method.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -210,7 +210,7 @@ public static IRestResponse<T> Options<T>(this IRestClient client, IRestRequest

/// <summary>
/// Execute the request using PATCH HTTP method.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand All @@ -221,7 +221,7 @@ public static IRestResponse<T> Patch<T>(this IRestClient client, IRestRequest re

/// <summary>
/// Execute the request using DELETE HTTP method.
/// The response data is deserialzied to the Data property of the returned response object.
/// The response data is deserialized to the Data property of the returned response object.
/// </summary>
/// <param name="client">RestClient instance</param>
/// <param name="request">The request</param>
Expand Down Expand Up @@ -460,4 +460,4 @@ public static RestClient UseXml(this RestClient client)
return client;
}
}
}
}