lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
17 lines (16 loc) • 492 B
TypeScript
import { HeaderBag, HttpMessage, HttpResponse as IHttpResponse } from "@smithy/types";
type HttpResponseOptions = Partial<HttpMessage> & {
statusCode: number;
reason?: string;
};
export interface HttpResponse extends IHttpResponse {
}
export declare class HttpResponse {
statusCode: number;
reason?: string;
headers: HeaderBag;
body?: any;
constructor(options: HttpResponseOptions);
static isInstance(response: unknown): response is HttpResponse;
}
export {};