Interface: HttpTransport
The HTTP seam. Everything that talks to the network goes through this port so the request and response layers can be tested without touching the network.
Methods
request()
ts
request(req): Promise<HttpResponse>;Sends one request and resolves with the response, whatever its status.
Parameters
| Parameter | Type |
|---|---|
req | HttpRequest |
Returns
Promise<HttpResponse>