UNPKG

@coolio/http

Version:
15 lines (14 loc) 563 B
/// <reference types="node" /> import { HttpHeaders, HttpResponse } from './httpClient.types'; import { BodyParserOptions } from './bodyParser'; import TypedArray = NodeJS.TypedArray; interface HttpResponseOptions { url?: string; headers?: HttpHeaders; status: number; body?: TypedArray | string; bodyParserOptions?: BodyParserOptions; } export declare const createHttpResponse: ({ url, headers, body, status, bodyParserOptions, }: HttpResponseOptions) => HttpResponse<any>; export {}; //# sourceMappingURL=httpResponse.d.ts.map