Constructor
new HttpClientGate()
- Source:
Parameters:
Name | Type | Description |
---|---|---|
options.endpoint |
string
|
endpoint URL |
options.method |
string
|
request method |
options.headers |
object
|
request headers |
Methods
send(item) → {Promise}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
item |
object
|
sending item |
Returns:
- Type:
-
Promise
- a promise that resolves when the item has been sended