@hpke/ohttp
Preparing search index...
mod
OhttpClientContext
Interface OhttpClientContext
Client-side binary HTTP exchange. Streams must be consumed exactly once.
interface
OhttpClientContext
{
body
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
;
contentType
:
string
;
decapsulateResponse
(
source
:
OhttpSource
,
)
:
Promise
<
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
>
;
}
Index
Properties
body
content
Type
Methods
decapsulate
Response
Properties
Readonly
body
body
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
Readonly
content
Type
contentType
:
string
Methods
decapsulate
Response
decapsulateResponse
(
source
:
OhttpSource
,
)
:
Promise
<
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
>
Parameters
source
:
OhttpSource
Returns
Promise
<
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
body
content
Type
Methods
decapsulate
Response
@hpke/ohttp
Loading...
Client-side binary HTTP exchange. Streams must be consumed exactly once.