Uint8ArrayStringFunctionIDMessageTypeBooleanRpcMessageRpcMessageRpcMessageRpcMessageRpcMessageUint8ArrayGet the bulk data.
Kind: Instance method of RpcMessage
Returns: Uint8Array - Bulk data as a byte array.
StringGet the correlation ID.
Kind: Instance method of RpcMessage
Returns: String - The correlation ID.
FunctionIDGet the FunctionID name.
Kind: Instance method of RpcMessage
Returns: FunctionID - A FunctionID enum key.
MessageTypeGet the MessageType enum value.
Kind: Instance method of RpcMessage
Returns: MessageType - A MessageType enum value.
BooleanGet whether or not it is encrypted.
Kind: Instance method of RpcMessage
Returns: Boolean - Whether or not it is encrypted.
RpcMessageSet the bulk data.
Kind: Instance method of RpcMessage
Returns: RpcMessage - A reference of this class to support method chaining.
| Param | Type | Description |
|---|---|---|
| data | UInt8Array |
Bulk data as a byte array. |
RpcMessageSet the correlation ID.
Kind: Instance method of RpcMessage
Returns: RpcMessage - A reference of this class to support method chaining.
| Param | Type | Description |
|---|---|---|
| id | String |
The correlation ID. |
RpcMessageSet the FunctionID enum key. If a FunctionID enum value is provided, it will attempted to be automatically converted into the matching key.
Kind: Instance method of RpcMessage
Returns: RpcMessage - A reference of this class to support method chaining.
| Param | Type | Description |
|---|---|---|
| name | FunctionID |
A FunctionID enum key. |