Functions
createState
- createState<Req, Res, Next, ProxyUrl, Opts>(req: Req, res: Res, next: Next, url: ProxyUrl, options: Opts): ProxyState<Req, Res, Next, ProxyUrl, Opts>
-
Type parameters
-
Req = any
-
Res = any
-
Next = any
-
ProxyUrl = string | URL | ProxyUrlFunction<Req>
-
Parameters
-
req: Req
-
res: Res
-
next: Next
-
url: ProxyUrl
-
options: Opts
Returns ProxyState<Req, Res, Next, ProxyUrl, Opts>