import { ODataHttpClient, ODataRequestConfig } from "@odata2ts/http-client-api"; import { RequestCmd, RequestCmdOptions } from "./RequestCmd"; import { RequestInfo } from "./RequestInfo"; /** * Reads binary data (a media entity's content or a stream property) as a stream, so that the payload * does not have to be held in memory as a whole - the counterpart to {@link BlobGetRequestCmd}. * * Not every client can do this: reading a stream requires the fetch API, so the axios and the jquery * client refuse the call. Use `getBlob` with those. * * A stream that exists but carries no content answers 204 - hence `ReadableStream | undefined`. * Response converters are not involved: binary data is handed over as it came. */ export declare class StreamGetRequestCmd extends RequestCmd { protected url: string; constructor(client: ODataHttpClient, url: string, options?: RequestCmdOptions); getUrl(): string; protected sendRequest(request: RequestInfo, requestConfig?: ODataRequestConfig): import("@odata2ts/http-client-api").ODataResponse>; }