UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

7 lines (6 loc) • 289 B
import type { Headers, HttpRequestOptions } from '../http-interfaces'; export declare function addHeader(headers: Headers, key: string, value: string): void; export declare function getDebugRequestMethodAndBody(options: HttpRequestOptions): { method: string; postData?: string; };