ServeApplicationExtension extension
Extension on Application to serve a HTTP server.
- on
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 specifiedApplication> , provided by the ServeApplicationExtension extensionaddress
andport
and sends requests to mounted Application.