Constructors
constructor
- new Requestor(_requests, _uri, _headers, _method, _body?): Requestor
-
Parameters
-
-
_uri: string
-
_headers: {
[key: string]: string;
}
-
_method: string
-
Optional _body: string
Optional
Properties
Private Optional Readonly _body
_body?: any
Private Readonly _headers
_headers: any
Private Readonly _method
_method: any
Private _requests
_requests: any
Private Readonly _uri
_uri: any
Methods
requestPayload
- requestPayload(): Promise<string>
-
Returns Promise<string>
Note: The requestor is implemented independently from polling such that it can be used to make a one-off request.