@types/http-codes
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Installation

npm install --save @types/http-codes

Summary

This package contains type definitions for http-codes (https://github.com/flesler/node-http-codes).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-codes.

index.d.ts

export const ACCEPTED: number;
export const ALREADY_REPORTED: number;
export const BAD_GATEWAY: number;
export const BAD_REQUEST: number;
export const BANDWIDTH_LIMIT_EXCEEDED: number;
export const CONFLICT: number;
export const CONTINUE: number;
export const CREATED: number;
export const EXPECTATION_FAILED: number;
export const FAILED_DEPENDENCY: number;
export const FORBIDDEN: number;
export const FOUND: number;
export const GATEWAY_TIMEOUT: number;
export const GONE: number;
export const HTTP_VERSION_NOT_SUPPORTED: number;
export const IM_A_TEAPOT: number;
export const IM_USED: number;
export const INSUFFICIENT_STORAGE: number;
export const INTERNAL_SERVER_ERROR: number;
export const LENGTH_REQUIRED: number;
export const LOCKED: number;
export const LOOP_DETECTED: number;
export const METHOD_NOT_ALLOWED: number;
export const MISDIRECTED_REQUEST: number;
export const MOVED_PERMANENTLY: number;
export const MULTIPLE_CHOICES: number;
export const MULTI_STATUS: number;
export const NETWORK_AUTHENTICATION_REQUIRED: number;
export const NON_AUTHORITATIVE_INFORMATION: number;
export const NOT_ACCEPTABLE: number;
export const NOT_EXTENDED: number;
export const NOT_FOUND: number;
export const NOT_IMPLEMENTED: number;
export const NOT_MODIFIED: number;
export const NO_CONTENT: number;
export const OK: number;
export const PARTIAL_CONTENT: number;
export const PAYLOAD_TOO_LARGE: number;
export const PAYMENT_REQUIRED: number;
export const PERMANENT_REDIRECT: number;
export const PRECONDITION_FAILED: number;
export const PRECONDITION_REQUIRED: number;
export const PROCESSING: number;
export const PROXY_AUTHENTICATION_REQUIRED: number;
export const RANGE_NOT_SATISFIABLE: number;
export const REQUEST_HEADER_FIELDS_TOO_LARGE: number;
export const REQUEST_TIMEOUT: number;
export const RESET_CONTENT: number;
export const SEE_OTHER: number;
export const SERVICE_UNAVAILABLE: number;
export const SWITCHING_PROTOCOLS: number;
export const TEMPORARY_REDIRECT: number;
export const TOO_MANY_REQUESTS: number;
export const UNAUTHORIZED: number;
export const UNAVAILABLE_FOR_LEGAL_REASONS: number;
export const TOO_EARLY: number;
export const UNPROCESSABLE_ENTITY: number;
export const UNSUPPORTED_MEDIA_TYPE: number;
export const UPGRADE_REQUIRED: number;
export const URI_TOO_LONG: number;
export const USE_PROXY: number;
export const VARIANT_ALSO_NEGOTIATES: number;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Mohamed Hegazy.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/http-codes

Weekly Downloads

1,318

Version

1.0.4

License

MIT

Unpacked Size

7.31 kB

Total Files

5

Last publish

Collaborators

  • types