Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StreamableMethod type

Defines the type for a method that supports getting the response body as a raw stream

type StreamableMethod<TResponse> = PromiseLike<TResponse> & {
 asBrowserStream: () => Promise<HttpBrowserStreamResponse>
 asNodeStream: () => Promise<HttpNodeStreamResponse>
}