UNPKG

@dazejs/framework

Version:

Daze.js - A powerful web framework for Node.js

133 lines (132 loc) 5.03 kB
export declare abstract class Statusable { abstract success(data?: any, code?: number): this; abstract error(data?: any, code?: number): this; Continue(data?: any): this; continue(data?: any): this; SwitchingProtocols(data?: any): this; switchingProtocols(data?: any): this; Processing(data?: any): this; processing(data?: any): this; EarlyHints(data?: any): this; earlyHints(data?: any): this; OK(data?: any): this; ok(data?: any): this; Created(data?: any): this; created(data?: any): this; Accepted(data?: any): this; accepted(data?: any): this; NonAuthoritativeInformation(data?: any): this; nonAuthoritativeInformation(data?: any): this; NoContent(): this; noContent(): this; ResetContent(data?: any): this; resetContent(data?: any): this; PartialContent(data?: any): this; partialContent(data?: any): this; MultiStatus(data?: any): this; multiStatus(data?: any): this; AlreadyReported(data?: any): this; alreadyReported(data?: any): this; IMUsed(data?: any): this; imUsed(data?: any): this; MultipleChoices(data?: any): this; multipleChoices(data?: any): this; MovedPermanently(data?: any): this; movedPermanently(data?: any): this; Found(data?: any): this; found(data?: any): this; SeeOther(data?: any): this; seeOther(data?: any): this; NotModified(data?: any): this; notModified(data?: any): this; UseProxy(data?: any): this; useProxy(data?: any): this; Unused(data?: any): this; unused(data?: any): this; TemporaryRedirect(data?: any): this; temporaryRedirect(data?: any): this; PermanentRedirect(data?: any): this; permanentRedirect(data?: any): this; BadRequest(data?: any): this; badRequest(data?: any): this; Unauthorized(data?: any): this; unauthorized(data?: any): this; PaymentRequired(data?: any): this; paymentRequired(data?: any): this; Forbidden(data?: any): this; forbidden(data?: any): this; NotFound(data?: any): this; notFound(data?: any): this; MethodNotAllowed(data?: any): this; methodNotAllowed(data?: any): this; NotAcceptable(data?: any): this; notAcceptable(data?: any): this; ProxyAuthenticationRequired(data?: any): this; proxyAuthenticationRequired(data?: any): this; RequestTimeout(data?: any): this; requestTimeout(data?: any): this; Conflict(data?: any): this; conflict(data?: any): this; Gone(data?: any): this; gone(data?: any): this; LengthRequired(data?: any): this; lengthRequired(data?: any): this; PreconditionFailed(data?: any): this; preconditionFailed(data?: any): this; PayloadTooLarge(data?: any): this; payloadTooLarge(data?: any): this; URITooLong(data?: any): this; uriTooLong(data?: any): this; UnsupportedMediaType(data?: any): this; unsupportedMediaType(data?: any): this; RangeNotSatisfiable(data?: any): this; rangeNotSatisfiable(data?: any): this; ExpectationFailed(data?: any): this; expectationFailed(data?: any): this; ImATeapot(data?: any): this; imATeapot(data?: any): this; MisdirectedRequest(data?: any): this; misdirectedRequest(data?: any): this; UnprocessableEntity(data?: any): this; unprocessableEntity(data?: any): this; Locked(data?: any): this; locked(data?: any): this; FailedDependency(data?: any): this; failedDependency(data?: any): this; UnorderedCollection(data?: any): this; unorderedCollection(data?: any): this; UpgradeRequired(data?: any): this; upgradeRequired(data?: any): this; PreconditionRequired(data?: any): this; preconditionRequired(data?: any): this; TooManyRequests(data?: any): this; tooManyRequests(data?: any): this; RequestHeaderFieldsTooLarge(data?: any): this; requestHeaderFieldsTooLarge(data?: any): this; UnavailableForLegalReasons(data?: any): this; unavailableForLegalReasons(data?: any): this; InternalServerError(data?: any): this; internalServerError(data?: any): this; NotImplemented(data?: any): this; notImplemented(data?: any): this; BadGateway(data?: any): this; badGateway(data?: any): this; ServiceUnavailable(data?: any): this; serviceUnavailable(data?: any): this; GatewayTimeout(data?: any): this; gatewayTimeout(data?: any): this; HTTPVersionNotSupported(data?: any): this; httpVersionNotSupported(data?: any): this; VariantAlsoNegotiates(data?: any): this; variantAlsoNegotiates(data?: any): this; InsufficientStorage(data?: any): this; insufficientStorage(data?: any): this; LoopDetected(data?: any): this; loopDetected(data?: any): this; BandwidthLimitExceeded(data?: any): this; bandwidthLimitExceeded(data?: any): this; NotExtended(data?: any): this; notExtended(data?: any): this; NetworkAuthenticationRequired(data?: any): this; networkAuthenticationRequired(data?: any): this; }