@zowe/imperative
Version:
framework for building configurable CLIs
89 lines • 1.77 kB
TypeScript
/**
* Constants used for REST client, etc.
* @export
* @class RestConstants
*/
export declare class RestConstants {
/**
* 200
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_200 = 200;
/**
* 201
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_201 = 201;
/**
* 202
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_202 = 202;
/**
* 204
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_204 = 204;
/**
* 300
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_300 = 300;
/**
* 400
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_400 = 400;
/**
* 401
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_401 = 401;
/**
* 404
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_404 = 404;
/**
* 500
* @static
* @memberof RestConstants
*/
static readonly HTTP_STATUS_500 = 500;
/**
* Set cookie property
* @static
* @type {string}
* @memberof RestConstants
*/
static readonly PROP_COOKIE: string;
/**
* Query identifier
* @static
* @memberof RestConstants
*/
static readonly QUERY_ID = "?";
/**
* Basic auth
* @static
* @type {string}
* @memberof RestConstants
*/
static readonly BASIC_PREFIX: string;
/**
* Bearer auth
* @static
* @type {string}
* @memberof RestConstants
*/
static readonly BEARER_PREFIX: string;
}
//# sourceMappingURL=RestConstants.d.ts.map