@softcose/softchat - v0.1.0
    Preparing search index...

    Class NoiseTransport

    Serialized authenticated Noise transport; the host owns the WebSocket.

    Index
    • get chunkingEnabled(): boolean

      Whether both peers negotiated application-message chunking.

      Returns boolean

    • Authenticate one frame, returning bytes when a message is complete.

      Parameters

      • ciphertext: Uint8Array

      Returns Uint8Array<ArrayBufferLike> | undefined

    • Encrypt one logical message into ordered binary frames.

      Parameters

      • plaintext: Uint8Array

      Returns readonly Uint8Array<ArrayBufferLike>[]

    • Zeroize and release the transport.

      Returns void