ServeApplicationFactoryExtension extension

Extension on ApplicationFactory 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<ApplicationFactory>, provided by the ServeApplicationFactoryExtension extension

Starts a Server that listens on the specified address and port and sends requests to mounted Application created by ApplicationFactory.