UNPKG

@webfaas/webfaas-plugin-endpoint-http

Version:
18 lines (17 loc) 544 B
/// <reference types="node" /> import { ServerOptions } from "https"; export declare enum EndPointHTTPConfigTypeEnum { HTTP = "HTTP", HTTPS = "HTTPS" } export interface EndPointHTTPConfigRoute { [path: string]: string; } export declare class EndPointHTTPConfig { port: number; hostname?: string; type: EndPointHTTPConfigTypeEnum; httpConfig: ServerOptions | null; route: EndPointHTTPConfigRoute; constructor(port?: number, hostname?: string, type?: EndPointHTTPConfigTypeEnum, httpConfig?: ServerOptions); }