@hpke/ohttp
Preparing search index...
mod
OhttpGatewayContext
Interface OhttpGatewayContext
Gateway-side binary HTTP exchange. EOF establishes authenticated completion.
interface
OhttpGatewayContext
{
body
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
;
encapsulateResponse
(
source
:
OhttpSource
,
)
:
Promise
<
{
body
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
;
contentType
:
string
;
}
,
>
;
}
Index
Properties
body
Methods
encapsulate
Response
Properties
Readonly
body
body
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
Methods
encapsulate
Response
encapsulateResponse
(
source
:
OhttpSource
,
)
:
Promise
<
{
body
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
;
contentType
:
string
;
}
,
>
Parameters
source
:
OhttpSource
Returns
Promise
<
{
body
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
;
contentType
:
string
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
body
Methods
encapsulate
Response
@hpke/ohttp
Loading...
Gateway-side binary HTTP exchange. EOF establishes authenticated completion.