UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

24 lines (23 loc) 706 B
import { HeaderBag, HttpMessage, HttpRequest as IHttpRequest, QueryParameterBag, URI } from "@smithy/types"; type HttpRequestOptions = Partial<HttpMessage> & Partial<URI> & { method?: string; }; export interface HttpRequest extends IHttpRequest { } export declare class HttpRequest implements HttpMessage, URI { method: string; protocol: string; hostname: string; port?: number; path: string; query: QueryParameterBag; headers: HeaderBag; username?: string; password?: string; fragment?: string; body?: any; constructor(options: HttpRequestOptions); static isInstance(request: unknown): request is HttpRequest; clone(): HttpRequest; } export {};