Search Results for

    Show / Hide Table of Contents

    Class ResponseBuilder

    Inheritance
    object
    ResponseBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net
    Assembly: OpenSearch.Net.dll
    Syntax
    public static class ResponseBuilder

    Fields

    | Edit this page View Source

    BufferSize

    Declaration
    public const int BufferSize = 81920
    Field Value
    Type Description
    int

    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
    Type Name Description
    RequestData requestData
    Exception ex
    int? statusCode
    IEnumerable<string> warnings
    Stream responseStream
    string mimeType
    CancellationToken cancellationToken
    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
    Type Name Description
    RequestData requestData
    Exception ex
    int? statusCode
    IEnumerable<string> warnings
    Stream responseStream
    string mimeType
    Returns
    Type Description
    TResponse
    Type Parameters
    Name Description
    TResponse
    • Edit this page
    • View Source
    In this article
    • Fields
      • BufferSize
    • Methods
      • ToResponseAsync<TResponse>(RequestData, Exception, int?, IEnumerable<string>, Stream, string, CancellationToken)
      • ToResponse<TResponse>(RequestData, Exception, int?, IEnumerable<string>, Stream, string)
    Back to top Generated by DocFX