Interface ITransport<TConnectionSettings>
Assembly: OpenSearch.Net.dll
Syntax
public interface ITransport<out TConnectionSettings> where TConnectionSettings : IConnectionConfigurationValues
Type Parameters
Name |
Description |
TConnectionSettings |
|
Properties
|
Edit this page
View Source
Settings
Declaration
TConnectionSettings Settings { get; }
Property Value
Type |
Description |
TConnectionSettings |
|
Methods
|
Edit this page
View Source
RequestAsync<TResponse>(HttpMethod, string, CancellationToken, PostData, IRequestParameters)
Declaration
Task<TResponse> RequestAsync<TResponse>(HttpMethod method, string path, CancellationToken ctx, PostData data = null, IRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
Request<TResponse>(HttpMethod, string, PostData, IRequestParameters)
Declaration
TResponse Request<TResponse>(HttpMethod method, string path, PostData data = null, IRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|
Extension Methods