Interfaces
HttpRequestOptions
HttpRequestOptions
interface HttpRequestOptions {
content: string | FormData | ArrayBuffer;
dontFollowRedirects: boolean;
headers: any;
method: string;
timeout: number;
url: string;
}
Provides options for the http requests.
Summary
Properties
content
defined in @nativescript/core/http/index.d.ts:94:1
Gets or sets the request body.
dontFollowRedirects
defined in @nativescript/core/http/index.d.ts:104:1
Gets or sets wether to *not* follow server's redirection responses.
headers
defined in @nativescript/core/http/index.d.ts:89:1
Gets or sets the request headers in JSON format.
method
defined in @nativescript/core/http/index.d.ts:84:1
Gets or sets the request method.
timeout
defined in @nativescript/core/http/index.d.ts:99:1
Gets or sets the request timeout in milliseconds.
url
defined in @nativescript/core/http/index.d.ts:79:1
Gets or sets the request url.
- Previous
- HttpContent
- Next
- HttpResponse