import { HttpStatusCodes } from '../Server' ; import { Response } from './Response' ; export class InformationalResponse extends Response { public static create ( statusCode , meta ? ) { return new this ( { statusCode , meta } ) ; } public static continue ( meta ? ) { return this . create ( HttpStatusCodes . Continue , meta ) ; } public static switchingProtocols ( meta ? ) { return this . create ( HttpStatusCodes . SwitchingProtocols , meta ) ; } public static processing ( meta ? ) { return this . create ( HttpStatusCodes . Processing , meta ) ; } }