Search Results for

    Show / Hide Table of Contents

    Class PipelineExtensions

    Inheritance
    object
    PipelineExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public static class PipelineExtensions

    Methods

    | Edit this page View Source

    AddHeader(RESTRequest, HttpHeader)

    Declaration
    public static void AddHeader(this RESTRequest request, HttpHeader header)
    Parameters
    Type Name Description
    RESTRequest request
    HttpHeader header
    | Edit this page View Source

    AddHeaderRange(RESTRequest, IEnumerable<HttpHeader>)

    Declaration
    public static void AddHeaderRange(this RESTRequest request, IEnumerable<HttpHeader> headers)
    Parameters
    Type Name Description
    RESTRequest request
    IEnumerable<HttpHeader> headers
    | Edit this page View Source

    GetHeaders(RESTRequest, bool, bool)

    Declaration
    public static IEnumerable<HttpHeader> GetHeaders(this RESTRequest request, bool includeContentTypeHeader, bool isRedirect = false)
    Parameters
    Type Name Description
    RESTRequest request
    bool includeContentTypeHeader
    bool isRedirect
    Returns
    Type Description
    IEnumerable<HttpHeader>
    | Edit this page View Source

    GetResponseHeaderBooleanValue(RESTResponse, string)

    Declaration
    public static bool? GetResponseHeaderBooleanValue(this RESTResponse res, string headerName)
    Parameters
    Type Name Description
    RESTResponse res
    string headerName
    Returns
    Type Description
    bool?
    | Edit this page View Source

    GetResponseHeaderValue(RESTResponse, string)

    Declaration
    public static string GetResponseHeaderValue(this RESTResponse res, string headerName)
    Parameters
    Type Name Description
    RESTResponse res
    string headerName
    Returns
    Type Description
    string
    | Edit this page View Source

    IsFinal(EventContext)

    Declaration
    public static bool IsFinal(this EventContext ctx)
    Parameters
    Type Name Description
    EventContext ctx
    Returns
    Type Description
    bool
    | Edit this page View Source

    ToHeader(MimeType)

    Declaration
    public static HttpHeader ToHeader(this MimeType contentType)
    Parameters
    Type Name Description
    MimeType contentType
    Returns
    Type Description
    HttpHeader
    | Edit this page View Source

    ToStreamContext(ServerSentEvent, bool)

    Declaration
    public static ResponseContext ToStreamContext(this ServerSentEvent sse, bool done)
    Parameters
    Type Name Description
    ServerSentEvent sse
    bool done
    Returns
    Type Description
    ResponseContext
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation