@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
8 lines (7 loc) • 318 B
TypeScript
import * as httpModule from '../../http';
export declare enum HttpResponseEncoding {
UTF8 = 0,
GBK = 1
}
export declare function request(options: httpModule.HttpRequestOptions): Promise<httpModule.HttpResponse>;
export declare function addHeader(headers: httpModule.Headers, key: string, value: string): void;