Class HttpNamespace
Http implementation.
Not intended to be instantiated directly. Use the Http property
on IOpenSearchClient.
Inheritance
HttpNamespace
Assembly: OpenSearch.Client.dll
Syntax
public class HttpNamespace : NamespacedClientProxy, IHttpNamespace
Methods
|
Edit this page
View Source
DeleteAsync<TResponse>(IHttpDeleteRequest, CancellationToken)
Declaration
public Task<TResponse> DeleteAsync<TResponse>(IHttpDeleteRequest request, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
DeleteAsync<TResponse>(string, Func<HttpDeleteDescriptor, IHttpDeleteRequest>, CancellationToken)
Declaration
public Task<TResponse> DeleteAsync<TResponse>(string path, Func<HttpDeleteDescriptor, IHttpDeleteRequest> selector = null, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Delete<TResponse>(IHttpDeleteRequest)
Declaration
public TResponse Delete<TResponse>(IHttpDeleteRequest request) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Delete<TResponse>(string, Func<HttpDeleteDescriptor, IHttpDeleteRequest>)
Declaration
public TResponse Delete<TResponse>(string path, Func<HttpDeleteDescriptor, IHttpDeleteRequest> selector = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
GetAsync<TResponse>(IHttpGetRequest, CancellationToken)
Declaration
public Task<TResponse> GetAsync<TResponse>(IHttpGetRequest request, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
GetAsync<TResponse>(string, Func<HttpGetDescriptor, IHttpGetRequest>, CancellationToken)
Declaration
public Task<TResponse> GetAsync<TResponse>(string path, Func<HttpGetDescriptor, IHttpGetRequest> selector = null, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Get<TResponse>(IHttpGetRequest)
Declaration
public TResponse Get<TResponse>(IHttpGetRequest request) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Get<TResponse>(string, Func<HttpGetDescriptor, IHttpGetRequest>)
Declaration
public TResponse Get<TResponse>(string path, Func<HttpGetDescriptor, IHttpGetRequest> selector = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
HeadAsync<TResponse>(IHttpHeadRequest, CancellationToken)
Declaration
public Task<TResponse> HeadAsync<TResponse>(IHttpHeadRequest request, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
HeadAsync<TResponse>(string, Func<HttpHeadDescriptor, IHttpHeadRequest>, CancellationToken)
Declaration
public Task<TResponse> HeadAsync<TResponse>(string path, Func<HttpHeadDescriptor, IHttpHeadRequest> selector = null, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Head<TResponse>(IHttpHeadRequest)
Declaration
public TResponse Head<TResponse>(IHttpHeadRequest request) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Head<TResponse>(string, Func<HttpHeadDescriptor, IHttpHeadRequest>)
Declaration
public TResponse Head<TResponse>(string path, Func<HttpHeadDescriptor, IHttpHeadRequest> selector = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
PatchAsync<TResponse>(IHttpPatchRequest, CancellationToken)
Declaration
public Task<TResponse> PatchAsync<TResponse>(IHttpPatchRequest request, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
PatchAsync<TResponse>(string, Func<HttpPatchDescriptor, IHttpPatchRequest>, CancellationToken)
Declaration
public Task<TResponse> PatchAsync<TResponse>(string path, Func<HttpPatchDescriptor, IHttpPatchRequest> selector = null, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Patch<TResponse>(IHttpPatchRequest)
Declaration
public TResponse Patch<TResponse>(IHttpPatchRequest request) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Patch<TResponse>(string, Func<HttpPatchDescriptor, IHttpPatchRequest>)
Declaration
public TResponse Patch<TResponse>(string path, Func<HttpPatchDescriptor, IHttpPatchRequest> selector = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
PostAsync<TResponse>(IHttpPostRequest, CancellationToken)
Declaration
public Task<TResponse> PostAsync<TResponse>(IHttpPostRequest request, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
PostAsync<TResponse>(string, Func<HttpPostDescriptor, IHttpPostRequest>, CancellationToken)
Declaration
public Task<TResponse> PostAsync<TResponse>(string path, Func<HttpPostDescriptor, IHttpPostRequest> selector = null, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Post<TResponse>(IHttpPostRequest)
Declaration
public TResponse Post<TResponse>(IHttpPostRequest request) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Post<TResponse>(string, Func<HttpPostDescriptor, IHttpPostRequest>)
Declaration
public TResponse Post<TResponse>(string path, Func<HttpPostDescriptor, IHttpPostRequest> selector = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
PutAsync<TResponse>(IHttpPutRequest, CancellationToken)
Declaration
public Task<TResponse> PutAsync<TResponse>(IHttpPutRequest request, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
PutAsync<TResponse>(string, Func<HttpPutDescriptor, IHttpPutRequest>, CancellationToken)
Declaration
public Task<TResponse> PutAsync<TResponse>(string path, Func<HttpPutDescriptor, IHttpPutRequest> selector = null, CancellationToken ct = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Put<TResponse>(IHttpPutRequest)
Declaration
public TResponse Put<TResponse>(IHttpPutRequest request) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Put<TResponse>(string, Func<HttpPutDescriptor, IHttpPutRequest>)
Declaration
public TResponse Put<TResponse>(string path, Func<HttpPutDescriptor, IHttpPutRequest> selector = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
Implements
Extension Methods