Interfaces
HttpRequestOptions
HttpRequestOptions
interfaceHttpRequestOptions {
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
On this page