Stone.js API
    Preparing search index...

    Wraps a Stone.js outgoing response into a raw WebSocket frame.

    The adapter sends the returned object back to the originating socket as JSON when it carries content, so a message handler can reply to the client that sent the frame.

    Implements

    Index
    • Build and return the raw WebSocket response.

      Returns RawWsResponse

      The raw response frame.

    • Create a RawResponseWrapper.

      Parameters

      • options: Partial<RawResponseOptions>

        Partial options for configuring the raw response.

      Returns RawResponseWrapper

      A new instance.