RequestManagerMiddleware <API>
Index
Methods
processRequest
Type parameters
- AnotherMethod: string
Parameters
request: Web3APIRequest<API, AnotherMethod>
optionaloptions: {}
Returns Promise<Web3APIRequest<API, AnotherMethod>>
processResponse
Type parameters
- AnotherMethod: string
- ResponseType = Web3APIReturnType<API, AnotherMethod>
Parameters
response: JsonRpcResponse<ResponseType, JsonRpcResult>
optionaloptions: {}
Returns Promise<JsonRpcResponse<ResponseType, JsonRpcResult>>