Methods
Static get
-
Parameters
Returns Promise<Buffer>
Static Private handleResponse
- handleResponse(msg: IncomingMessage, writeStream?: Writable): Promise<Buffer>
-
Parameters
-
msg: IncomingMessage
-
Optional writeStream: Writable
Returns Promise<Buffer>
Static post
- post(path: string, params?: object, stream?: Writable): Promise<Buffer>
-
Parameters
-
path: string
-
Optional params: object
-
Optional stream: Writable
Returns Promise<Buffer>
A static helper class used to provide an interface for Promise based web requests.