UNPKG

@studyportals/sp-r2d2

Version:

A framework that contains various components used when developing projects that will be deployed via AWS λ.

22 lines (21 loc) 602 B
export declare class HttpResponse { readonly statusCode: number; readonly body: any; protected readonly includeCorsHeaders: boolean; private _headers; private _corsHeaders; get headers(): { [name: string]: string; }; protected get corsHeaders(): { [name: string]: string; }; protected get defaultCorsHeaders(): { [name: string]: string; }; constructor(statusCode: number, body?: any, headers?: { [name: string]: string; }, includeCorsHeaders?: boolean, corsHeaders?: { [name: string]: string; } | null); }