Class RpcMessageBuilder

Hierarchy

  • RpcMessageBuilder

Constructors

Properties

clientId?: Uint8Array
id: number
routeType: client | server = RpcMessageRouteType.client
source?: Uint8Array

Methods

  • Type Parameters

    • T

    Parameters

    • type: RpcTypes
    • Optional schemaOrBody: Uint8Array | ReceiveType<T>
    • Optional data: T

    Returns Uint8Array

  • Type Parameters

    • T

    Parameters

    • type: number
    • Optional body: T
    • Optional receiveType: ReceiveType<T>

    Returns void

Generated using TypeDoc