ServeApplicationFactoryExtension extension
Extension on ApplicationFactory to serve a HTTP server.
Methods
-
serve(
Object address, int port, {SecurityContextFactory? securityContextFactory, int backlog = 0, bool v6Only = false, bool requestClientCertificate = false, int isolates = 1, LoggerFactory? loggerFactory = defaultLoggerFactory, bool showBanner = true, bool showUrl = true}) → Future< Server> -
Available on FutureOr<
Starts a Server that listens on the specifiedApplicationFactory> , provided by the ServeApplicationFactoryExtension extensionaddress
andport
and sends requests to mounted Application created by ApplicationFactory.