Interface: HttpClient
Methods
request
▸ request(method
, url
, body?
, headers?
): Promise
<{ body?
: string
; headers?
: Record
<string
, string
> ; statusCode?
: number
}>
Parameters
Name | Type |
---|---|
method | string |
url | string |
body? | string |
headers? | Object |
Returns
Promise
<{ body?
: string
; headers?
: Record
<string
, string
> ; statusCode?
: number
}>
Defined in
src/bindings/http/http-client.ts:4