- Source
Methods
send(httpRequestnon-null) → (non-null) {Promise.<Response>}
Sends a request to the server. The client will automatically follow any redirects returned by the server, fulfilling the returned promise with the final response.
Parameters:
Name | Type | Description |
---|---|---|
httpRequest | Request | The request to send. |
- Source
Returns:
A promise that will be fulfilled with the server's response.
- Type:
- Promise.<Response>