You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
524 B
12 lines
524 B
|
2 months ago
|
/// <reference types="node" />
|
||
|
|
import type { IncomingHttpHeaders } from 'http';
|
||
|
|
import type { NextParsedUrlQuery } from './request-meta';
|
||
|
|
export declare function stripInternalQueries(query: NextParsedUrlQuery): void;
|
||
|
|
export declare function stripInternalSearchParams<T extends string | URL>(url: T, isEdge: boolean): T;
|
||
|
|
/**
|
||
|
|
* Strip internal headers from the request headers.
|
||
|
|
*
|
||
|
|
* @param headers the headers to strip of internal headers
|
||
|
|
*/
|
||
|
|
export declare function stripInternalHeaders(headers: IncomingHttpHeaders): void;
|