64 lines
2.0 KiB
TypeScript
64 lines
2.0 KiB
TypeScript
|
import { getStatusCode } from './utils-functions';
|
||
|
export { getStatusCode, getReasonPhrase, getStatusText, } from './utils-functions';
|
||
|
export { StatusCodes, } from './status-codes';
|
||
|
export { ReasonPhrases, } from './reason-phrases';
|
||
|
export * from './legacy';
|
||
|
declare const _default: {
|
||
|
getStatusCode: typeof getStatusCode;
|
||
|
getStatusText: typeof import("./utils-functions").getReasonPhrase;
|
||
|
ACCEPTED: number;
|
||
|
BAD_GATEWAY: number;
|
||
|
BAD_REQUEST: number;
|
||
|
CONFLICT: number;
|
||
|
CONTINUE: number;
|
||
|
CREATED: number;
|
||
|
EXPECTATION_FAILED: number;
|
||
|
FORBIDDEN: number;
|
||
|
GATEWAY_TIMEOUT: number;
|
||
|
GONE: number;
|
||
|
HTTP_VERSION_NOT_SUPPORTED: number;
|
||
|
IM_A_TEAPOT: number;
|
||
|
INSUFFICIENT_SPACE_ON_RESOURCE: number;
|
||
|
INSUFFICIENT_STORAGE: number;
|
||
|
INTERNAL_SERVER_ERROR: number;
|
||
|
LENGTH_REQUIRED: number;
|
||
|
LOCKED: number;
|
||
|
METHOD_FAILURE: number;
|
||
|
METHOD_NOT_ALLOWED: number;
|
||
|
MOVED_PERMANENTLY: number;
|
||
|
MOVED_TEMPORARILY: number;
|
||
|
MULTI_STATUS: number;
|
||
|
MULTIPLE_CHOICES: number;
|
||
|
NETWORK_AUTHENTICATION_REQUIRED: number;
|
||
|
NO_CONTENT: number;
|
||
|
NON_AUTHORITATIVE_INFORMATION: number;
|
||
|
NOT_ACCEPTABLE: number;
|
||
|
NOT_FOUND: number;
|
||
|
NOT_IMPLEMENTED: number;
|
||
|
NOT_MODIFIED: number;
|
||
|
OK: number;
|
||
|
PARTIAL_CONTENT: number;
|
||
|
PAYMENT_REQUIRED: number;
|
||
|
PERMANENT_REDIRECT: number;
|
||
|
PRECONDITION_FAILED: number;
|
||
|
PRECONDITION_REQUIRED: number;
|
||
|
PROCESSING: number;
|
||
|
PROXY_AUTHENTICATION_REQUIRED: number;
|
||
|
REQUEST_HEADER_FIELDS_TOO_LARGE: number;
|
||
|
REQUEST_TIMEOUT: number;
|
||
|
REQUEST_TOO_LONG: number;
|
||
|
REQUEST_URI_TOO_LONG: number;
|
||
|
REQUESTED_RANGE_NOT_SATISFIABLE: number;
|
||
|
RESET_CONTENT: number;
|
||
|
SEE_OTHER: number;
|
||
|
SERVICE_UNAVAILABLE: number;
|
||
|
SWITCHING_PROTOCOLS: number;
|
||
|
TEMPORARY_REDIRECT: number;
|
||
|
TOO_MANY_REQUESTS: number;
|
||
|
UNAUTHORIZED: number;
|
||
|
UNPROCESSABLE_ENTITY: number;
|
||
|
UNSUPPORTED_MEDIA_TYPE: number;
|
||
|
USE_PROXY: number;
|
||
|
};
|
||
|
export default _default;
|