A lightweight JSON RPC client & server
Home > async-call-rpc > ClientEncoding > encodeRequest
Encode the request object.
Signature:
encodeRequest(data: Requests): EncodedRequest | PromiseLike<EncodedRequest>;
Parameter | Type | Description |
---|---|---|
data | Requests | The request object |
Returns:
EncodedRequest | PromiseLike<EncodedRequest>