Class ResponseBuilder
Inheritance
ResponseBuilder
Assembly: OpenSearch.Net.dll
Syntax
public static class ResponseBuilder
Fields
|
Edit this page
View Source
BufferSize
Declaration
public const int BufferSize = 81920
Field Value
Methods
|
Edit this page
View Source
ToResponseAsync<TResponse>(RequestData, Exception, int?, IEnumerable<string>, Stream, string, CancellationToken)
Declaration
public static Task<TResponse> ToResponseAsync<TResponse>(RequestData requestData, Exception ex, int? statusCode, IEnumerable<string> warnings, Stream responseStream, string mimeType = "application/json", CancellationToken cancellationToken = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
Task<TResponse> |
|
Type Parameters
Name |
Description |
TResponse |
|
|
Edit this page
View Source
ToResponse<TResponse>(RequestData, Exception, int?, IEnumerable<string>, Stream, string)
Declaration
public static TResponse ToResponse<TResponse>(RequestData requestData, Exception ex, int? statusCode, IEnumerable<string> warnings, Stream responseStream, string mimeType = "application/json") where TResponse : class, IOpenSearchResponse, new()
Parameters
Returns
Type |
Description |
TResponse |
|
Type Parameters
Name |
Description |
TResponse |
|