UNPKG

dinoloop-es8

Version:

A lightweight REST API Library for building scalable Node.js server-side applications powered by Typescript

10 lines (9 loc) 290 B
import { HttpStatusCode } from '../constants'; /** * Creates HttpResponseMessage with the specified status code and value */ export declare class HttpResponseMessage<T> { statusCode: HttpStatusCode; content: T; constructor(statusCode: HttpStatusCode, content?: T); }