Uint8Array
String
FunctionID
MessageType
Boolean
RpcMessage
RpcMessage
RpcMessage
RpcMessage
RpcMessage
Uint8Array
Get the bulk data.
Kind: Instance method of RpcMessage
Returns: Uint8Array
- Bulk data as a byte array.
String
Get the correlation ID.
Kind: Instance method of RpcMessage
Returns: String
- The correlation ID.
FunctionID
Get the FunctionID name.
Kind: Instance method of RpcMessage
Returns: FunctionID
- A FunctionID enum key.
MessageType
Get the MessageType enum value.
Kind: Instance method of RpcMessage
Returns: MessageType
- A MessageType enum value.
Boolean
Get whether or not it is encrypted.
Kind: Instance method of RpcMessage
Returns: Boolean
- Whether or not it is encrypted.
RpcMessage
Set 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. |
RpcMessage
Set 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. |
RpcMessage
Set 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. |