Search Results for

    Show / Hide Table of Contents

    Interface IStreamHandler<TWire>

    Generic interface for stream handlers that process incoming transport messages of type TWire.

    Inherited Members
    IStreamHandler.ContentType
    IStreamHandler.OnCompleteContent()
    IStreamHandler.Interrupt(Exception)
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public interface IStreamHandler<TWire> : IStreamHandler
    Type Parameters
    Name Description
    TWire

    The type of chunk or message received from the stream.

    Methods

    | Edit this page View Source

    Ingress(TWire)

    Called when a new chunk of type TWire is received from the stream.

    Declaration
    void Ingress(TWire @in)
    Parameters
    Type Name Description
    TWire in

    The received chunk or message.

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation