UNPKG

@blackglory/http-status

Version:
28 lines 778 B
import { Informational } from './enum.js'; export class HTTPInformational { constructor(code, message) { this.code = code; this.message = message; } } export class Continue extends HTTPInformational { constructor() { super(Informational.Continue, 'Continue'); } } export class SwitchingProtocol extends HTTPInformational { constructor() { super(Informational.SwitchingProtocol, 'Switching Protocol'); } } export class Processing extends HTTPInformational { constructor() { super(Informational.Processing, 'Processing'); } } export class EarlyHints extends HTTPInformational { constructor() { super(Informational.EarlyHints, 'Early Hints'); } } //# sourceMappingURL=http-informational.js.map