Leaf
    Preparing search index...

    Class WebSocketClientBinaryInterface

    A Sync1BinaryInterface implementation on top of a WebSocket.

    Implements

    • Sync1BinaryInterface
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Send a message to the server.

      Parameters

      • clientMessage: Uint8Array

      Returns Promise<void>

    • Register a callback that will be triggered when a message comes in from the server.

      Parameters

      • receiver: (serverResponse: Uint8Array) => void

      Returns void