@request-seal/core API
Preparing search index...
adapters/node-http
captureRequest
Function captureRequest
captureRequest
(
req
:
unknown
,
options
?:
unknown
,
)
:
Promise
<
Result
<
Readonly
<
{
ingress
:
Ingress
;
message
:
Message
;
origin
:
Readonly
<
{
authority
:
string
;
scheme
:
string
;
source
:
"connection"
|
"forwarded"
;
}
,
>
;
replay
:
()
=>
Result
<
Readable
>
;
}
,
>
,
>
,
>
Capture and retain a Node incoming request before body parsing.
Parameters
req
:
unknown
options
:
unknown
= {}
Returns
Promise
<
Result
<
Readonly
<
{
ingress
:
Ingress
;
message
:
Message
;
origin
:
Readonly
<
{
authority
:
string
;
scheme
:
string
;
source
:
"connection"
|
"forwarded"
;
}
,
>
;
replay
:
()
=>
Result
<
Readable
>
;
}
,
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@request-seal/core API
Loading...
Capture and retain a Node incoming request before body parsing.