Namespaces
getString
Call Signature
function getString(url: string): Promise<string>;Defined in: http/index.d.ts:11
Downloads the content from the specified URL as a string.
Parameters
| Parameter | Type | Description |
|---|---|---|
url | string | The URL to request from. |
Returns
Promise<string>
Call Signature
function getString(options: HttpRequestOptions): Promise<string>;Defined in: http/index.d.ts:17
Downloads the content from the specified URL as a string.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | HttpRequestOptions | An object that specifies various request options. |
Returns
Promise<string>