UNPKG

will-api

Version:

Web API gateway adapter for moleculer

25 lines (24 loc) 615 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HTTP = void 0; class HTTP { } exports.HTTP = HTTP; HTTP.OK = 200; HTTP.BAD_REQUEST = 400; HTTP.UNAUTHORIZED = 401; HTTP.PAYMENT_REQUIRED = 402; HTTP.FORBIDDEN = 403; HTTP.NOT_FOUND = 404; HTTP.NOT_ALLOWED = 405; HTTP.NOT_ACCEPTABLE = 406; HTTP.REGISTER_REQUIRED = 407; HTTP.REQUEST_TIMEOUT = 408; HTTP.CONFLICT = 409; HTTP.GONE = 410; HTTP.INTERNAL_SERVER_ERROR = 500; HTTP.NOT_IMPLEMENTED = 501; HTTP.BAD_GATEWAY = 502; HTTP.SERVICE_UNAVAILABLE = 503; HTTP.GATEWAY_TIMEOUT = 504; HTTP.DISCONNECTED = 505;