- Preparing search index...
- The search index is not available
Deepkit
Constructors
constructor
- new RpcMessageBuilder(writer: RpcConnectionWriter, id: number, clientId?: Uint8Array, source?: Uint8Array): RpcMessageBuilder
-
Parameters
-
-
id: number
-
Optional
clientId: Uint8Array
-
Optional
source: Uint8Array
Properties
Protected
Optional
clientId
clientId?: Uint8Array
Protected
Optional
source
source?: Uint8Array
Methods
error
- error(error: string | Error): void
-
Returns void
Protected
messageFactory
- messageFactory<T>(type: RpcTypes, schemaOrBody?: Uint8Array | ReceiveType<T>, data?: T): Uint8Array
-
Parameters
-
-
Optional
schemaOrBody: Uint8Array | ReceiveType<T>
-
Optional
data: T
Returns Uint8Array
reply
- reply<T>(type: number, body?: T, receiveType?: ReceiveType<T>): void
-
Parameters
-
type: number
-
Optional
body: T
-
Optional
receiveType: ReceiveType<T>
Returns void
replyBinary
- replyBinary<T>(type: number, body?: Uint8Array): void
-
Parameters
-
type: number
-
Optional
body: Uint8Array
Returns void