Functions
createRequestInit
- createRequestInit(req: any, options: ProxyOptions): Promise<RequestInit>
-
Parameters
Returns Promise<RequestInit>
extendHeaders
- extendHeaders(baseHeaders: HeadersInit, reqHeaders: Headers, ignoreHeaders: string[]): Headers
-
Parameters
-
baseHeaders: HeadersInit
-
reqHeaders: Headers
-
ignoreHeaders: string[]
Returns Headers
parseUrl
- parseUrl(state: ProxyState, ctx: any): any
-
Parameters
-
state: ProxyState
-
ctx: any
Returns any
reqHeaders
-
Parameters
Returns Headers