ServeHandlerExtension extension

Extension on Handler to serve a HTTP server.

on

Methods

serve(Object address, int port, {SecurityContextFactory? securityContextFactory, int backlog = 0, bool v6Only = false, bool requestClientCertificate = false, bool shared = false, int isolates = 1, LoggerFactory? loggerFactory = defaultLoggerFactory, bool showBanner = true, bool showUrl = true}) Future<Server>

Available on FutureOr<Handler>, provided by the ServeHandlerExtension extension

Starts a Server that listens on the specified address and port and sends requests to mounted Handler.