Methods
Static get
-
Parameters
-
path: string
-
Default value options: RequestOptions = { query: {}, proxy: null }
Returns Promise<string>
Static Private getWithProxy
- getWithProxy(endpoint: Url, proxy: Proxy, query: string): Promise<any>
-
Parameters
-
endpoint: Url
-
-
query: string
Returns Promise<any>
Static post
- post(path: string, params?: object): Promise<string>
-
Parameters
-
path: string
-
Optional params: object
Returns Promise<string>
Static unzip
- unzip(zipped: IncomingMessage): Promise<string>
-
Parameters
Returns Promise<string>
A static helper class used to provide an interface for Promise based web requests.