Repository URL to install this package:
|
Version:
7.1.2 ▾
|
/// <reference types="node" />
import { URL } from 'url';
import { Params, OneRequest, OneRequestStore, OneRequestAsSerializedDebug } from '../typings';
export declare function fromBodyToSerialized(body: Body): void;
export { cloneURL } from './cloneURL';
export { fromHeadersToSerialized } from './fromHeadersToSerialized';
export declare function fromParamsToSerializedUrlParams(params: Params, request: OneRequest | OneRequestStore | {
store: OneRequestStore;
}): URL;
export declare function fromParamsToSerialized(params: Params, request: OneRequest | OneRequestStore | {
store: OneRequestStore;
}): {};
export declare const toValue: (request: OneRequest, constantHeader: unknown) => any;
/**
* @todo may want to clone
*/
export declare function fromOneRequestToSerialized(request: OneRequest): OneRequestAsSerializedDebug;