edgeport - v1.0.3
    Preparing search index...

    Interface PacketTransport

    The minimal transport contract authentication needs: send a packet, read the next one, and the session identifier for publickey signatures. The SSH transport satisfies this structurally, so auth does not depend on the transport implementation.

    1.0.0

    interface PacketTransport {
        sessionId: Uint8Array;
        read(): Promise<Uint8Array<ArrayBufferLike>>;
        send(payload: Uint8Array): Promise<void>;
    }
    Index
    sessionId: Uint8Array

    The session identifier (H of the first key exchange).

    • Reads the next SSH packet.

      Returns Promise<Uint8Array<ArrayBufferLike>>

    • Sends one SSH packet.

      Parameters

      • payload: Uint8Array

      Returns Promise<void>