Class: abstract
ITransport
The transport interface.
Constructors
new ITransport()
new ITransport(): ITransport
Returns
Methods
request()
abstract request(request, client): Promise<void>
Sends a request and passes the reposnse to the JSON-RPC client.
Parameters
Parameter | Type | Description |
---|---|---|
|
| The request object. |
|
| ‐ |
Returns
Promise
<void
>
The response.
Defined
@nilfoundation/niljs/src/transport/types/ITransport.ts:12