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>
}