Preparing search index...
The search index is not available
@xinferai/utils-lib
@xinferai/utils-lib
pass-through
passThrough
Function passThrough
passThrough
(
response
:
Response
,
onFinish
?:
(
x
:
string
)
=>
void
,
)
:
Promise
<
{
headers
:
Headers
;
readableStream
:
ReadableStream
}
>
Pass through the response body
Parameters
response
:
Response
Optional
onFinish
:
(
x
:
string
)
=>
void
Returns
Promise
<
{
headers
:
Headers
;
readableStream
:
ReadableStream
}
>
Object containing the readable stream and headers
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@xinferai/utils-lib
Loading...
Pass through the response body