Class RpcClientTransporter

Hierarchy

  • RpcClientTransporter

Constructors

Properties

connected: boolean = false
connection: BehaviorSubject<boolean> = ...

true when the connection fully established (after authentication)

connectionId: number = 0
connectionPromise?: Promise<void>
connectionTries: number = 0
disconnected: Subject<number> = ...
id?: Uint8Array
reader: RpcMessageReader = ...
reconnected: Subject<number> = ...
transportConnection?: TransportConnection
writerOptions: RpcMessageWriterOptions = ...

Methods

  • Optional handshake. When peer messages are allowed, this needs to request the client id and returns id.

    Returns Promise<undefined | Uint8Array>

Generated using TypeDoc