UNPKG

2.01 kBTypeScriptView Raw
1import { getStatusCode } from './utils-functions';
2export { getStatusCode, getReasonPhrase, getStatusText, } from './utils-functions';
3export { StatusCodes, } from './status-codes';
4export { ReasonPhrases, } from './reason-phrases';
5export * from './legacy';
6declare const _default: {
7 getStatusCode: typeof getStatusCode;
8 getStatusText: typeof import("./utils-functions").getReasonPhrase;
9 ACCEPTED: number;
10 BAD_GATEWAY: number;
11 BAD_REQUEST: number;
12 CONFLICT: number;
13 CONTINUE: number;
14 CREATED: number;
15 EXPECTATION_FAILED: number;
16 FORBIDDEN: number;
17 GATEWAY_TIMEOUT: number;
18 GONE: number;
19 HTTP_VERSION_NOT_SUPPORTED: number;
20 IM_A_TEAPOT: number;
21 INSUFFICIENT_SPACE_ON_RESOURCE: number;
22 INSUFFICIENT_STORAGE: number;
23 INTERNAL_SERVER_ERROR: number;
24 LENGTH_REQUIRED: number;
25 LOCKED: number;
26 METHOD_FAILURE: number;
27 METHOD_NOT_ALLOWED: number;
28 MOVED_PERMANENTLY: number;
29 MOVED_TEMPORARILY: number;
30 MULTI_STATUS: number;
31 MULTIPLE_CHOICES: number;
32 NETWORK_AUTHENTICATION_REQUIRED: number;
33 NO_CONTENT: number;
34 NON_AUTHORITATIVE_INFORMATION: number;
35 NOT_ACCEPTABLE: number;
36 NOT_FOUND: number;
37 NOT_IMPLEMENTED: number;
38 NOT_MODIFIED: number;
39 OK: number;
40 PARTIAL_CONTENT: number;
41 PAYMENT_REQUIRED: number;
42 PERMANENT_REDIRECT: number;
43 PRECONDITION_FAILED: number;
44 PRECONDITION_REQUIRED: number;
45 PROCESSING: number;
46 PROXY_AUTHENTICATION_REQUIRED: number;
47 REQUEST_HEADER_FIELDS_TOO_LARGE: number;
48 REQUEST_TIMEOUT: number;
49 REQUEST_TOO_LONG: number;
50 REQUEST_URI_TOO_LONG: number;
51 REQUESTED_RANGE_NOT_SATISFIABLE: number;
52 RESET_CONTENT: number;
53 SEE_OTHER: number;
54 SERVICE_UNAVAILABLE: number;
55 SWITCHING_PROTOCOLS: number;
56 TEMPORARY_REDIRECT: number;
57 TOO_MANY_REQUESTS: number;
58 UNAUTHORIZED: number;
59 UNPROCESSABLE_ENTITY: number;
60 UNSUPPORTED_MEDIA_TYPE: number;
61 USE_PROXY: number;
62};
63export default _default;