Search
Preparing search index...
The search index is not available
opine-http-proxy
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"requestOptions"
Module "requestOptions"
Index
Variables
encoder
Functions
as
Buffer
as
Buffer
OrString
create
Request
Init
extend
Headers
get
Body
parse
Raw
Body
parse
Url
req
Body
req
Headers
Variables
Const
encoder
encoder
:
TextEncoder
= new TextEncoder()
Functions
as
Buffer
as
Buffer
(
body
:
unknown
)
:
unknown
Parameters
body:
unknown
Returns
unknown
as
Buffer
OrString
as
Buffer
OrString
(
body
:
any
)
:
any
Parameters
body:
any
Returns
any
create
Request
Init
create
Request
Init
(
req
:
Request
, res
:
Response
, options
:
ProxyOptions
)
:
Promise
<
RequestInit
>
Parameters
req:
Request
res:
Response
options:
ProxyOptions
Returns
Promise
<
RequestInit
>
extend
Headers
extend
Headers
(
baseHeaders
:
HeadersInit
, reqHeaders
:
Headers
, ignoreHeaders
:
string
[]
)
:
Headers
Parameters
baseHeaders:
HeadersInit
reqHeaders:
Headers
ignoreHeaders:
string
[]
Returns
Headers
get
Body
get
Body
(
req
:
any
, res
:
any
)
:
any
Parameters
req:
any
res:
any
Returns
any
Const
parse
Raw
Body
parse
Raw
Body
(
body
:
any
)
:
any
Parameters
body:
any
Returns
any
parse
Url
parse
Url
(
state
:
ProxyState
)
:
URL
Parameters
state:
ProxyState
Returns
URL
req
Body
req
Body
(
req
:
Request
, res
:
Response
, options
:
ProxyOptions
)
:
Promise
<
any
>
Parameters
req:
Request
res:
Response
options:
ProxyOptions
Returns
Promise
<
any
>
req
Headers
req
Headers
(
req
:
Request
, options
:
ProxyOptions
)
:
Headers
Parameters
req:
Request
options:
ProxyOptions
Returns
Headers
Globals
"create
State"
"is
Unset"
"proxy"
"request
Options"
"resolve
Options"
"steps/build
Proxy
Req
Init"
"steps/build
Proxy
Url"
"steps/copy
Proxy
Res
Headers
ToUser
Res"
"steps/decorate
Proxy
Req
Init"
"steps/decorate
Proxy
Req
Url"
"steps/decorate
Src
Res"
"steps/decorate
Src
Res
Headers"
"steps/filter
Proxy
Res"
"steps/filter
Src
Req"
"steps/handle
Proxy
Errors"
"steps/prepare
Proxy
Req"
"steps/send
Proxy
Req"
"steps/send
Src
Res"
encoder
as
Buffer
as
Buffer
OrString
create
Request
Init
extend
Headers
get
Body
parse
Raw
Body
parse
Url
req
Body
req
Headers
Generated using
TypeDoc