fromHandler

open fun fromHandler(handler: HttpEndpointRequestHandler): HttpServer
open fun fromHandler(vertx: Vertx, handler: HttpEndpointRequestHandler): HttpServer

Create a Vert.x HttpServer from the provided HttpEndpointRequestHandler.


open fun fromHandler(handler: HttpEndpointRequestHandler, options: HttpServerOptions): HttpServer
open fun fromHandler(vertx: Vertx, handler: HttpEndpointRequestHandler, options: HttpServerOptions): HttpServer

Create a Vert.x HttpServer from the provided HttpEndpointRequestHandler, with the given HttpServerOptions.