mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11 lines (10 loc) • 462 B
TypeScript
import HttpCookie from "./HttpCookie";
export default class HttpResponse {
readonly status: string;
readonly statusCode: number;
readonly contentLength: number;
readonly headers: Record<string, string[]>;
readonly cookies: Record<string, HttpCookie>;
readonly body: string;
constructor(status: string, statusCode: number, contentLength: number, headers: Record<string, string[]>, cookies: Record<string, HttpCookie>, body: string);
}