@zowe/zos-files-for-zowe-sdk
Version:
Zowe SDK to interact with files and data sets on z/OS
68 lines • 2.17 kB
TypeScript
import { Writable, Readable } from "stream";
import { ITaskWithStatus } from "@zowe/imperative";
import { CLIENT_PROPERTY } from "./types/ZosmfRestClientProperties";
/**
* Interface to define input options for RestClient GET|POST|PUT|DELETE ExpectFullResponse methods
* @export
* @deprecated - Use Imperative's IOptionsFullResponse instead
* @interface IOptionsFullResponse
*/
export interface IOptionsFullResponse {
/**
* URI for this request
* @type {string}
* @memberof IOptionsFullResponse
*/
resource: string;
/**
* List of properties to return from REST call
* @type {CLIENT_PROPERTY[]}
* @memberof IFullResponseOptions
*/
dataToReturn?: CLIENT_PROPERTY[];
/**
* Headers to include with request
* @type {any[]}
* @memberof IOptionsFullResponse
*/
reqHeaders?: any[];
/**
* Data to write on this REST request
* @type {*}
* @memberof IOptionsFullResponse
*/
writeData?: any;
/**
* Stream for incoming response data from the server. If specified, response data will not be buffered
* @type {Writable}
* @memberof IOptionsFullResponse
*/
responseStream?: Writable;
/**
* Stream for outgoing request data to the server
* @type {Readable}
* @memberof IOptionsFullResponse
*/
requestStream?: Readable;
/**
* true if you want newlines to be \r\n on windows
* when receiving data from the server to responseStream. Don't set this for binary responses
* @type {boolean}
* @memberof IOptionsFullResponse
*/
normalizeResponseNewLines?: boolean;
/**
* true if you want \r\n to be replaced with \n when sending
* data to the server from requestStream. Don't set this for binary requests
* @type {boolean}
* @memberof IOptionsFullResponse
*/
normalizeRequestNewLines?: boolean;
/**
* Task that will automatically be updated to report progress of upload or download to user
* @type {ITaskWithStatus}
* @memberof IOptionsFullResponse
*/
task?: ITaskWithStatus;
}
//# sourceMappingURL=IOptionsFullResponse.d.ts.map