import * as pulumi from "@pulumi/pulumi" ; import * as http from "http" ; export type RequestListenerFactory = ( ) => ( req : http . IncomingMessage , res : http . ServerResponse ) => void ; export interface HttpServerConstructor { param createRequestListener new ( name , createRequestListener , opts ? ) : HttpServer ; } export let HttpServer ; /**
 * An HttpServer is used to listen and respond to http requests made to the exported [[url]].
 * HttpServers can be constructed passing in a Function that with the same signature as the
 * [[requestListener]] parameter in [[http.createServer]].  See:
 * https://nodejs.org/api/http.html#http_http_createserver_options_requestlistener for more details.
 */ export interface HttpServer { readonly url : pulumi . Output < string > ; }