ServeOptions$Typings extension
- on
Properties
- hostname ↔ String?
-
Available on ServeOptions, provided by the ServeOptions$Typings extension
A literal IP address or host name that can be resolved to an IP address.getter/setter pair - onError ↔ Object Function([Object?])?
-
Available on ServeOptions, provided by the ServeOptions$Typings extension
The handler to invoke when route handlers throw an error.getter/setter pair - onListen ↔ void Function(dynamic)?
-
Available on ServeOptions, provided by the ServeOptions$Typings extension
The callback which is called when the server starts listening.getter/setter pair - port ↔ num?
-
Available on ServeOptions, provided by the ServeOptions$Typings extension
The port to listen on.getter/setter pair - reusePort ↔ bool?
-
Available on ServeOptions, provided by the ServeOptions$Typings extension
SetsSO_REUSEPORT
on POSIX systems.getter/setter pair - signal ↔ AbortSignal?
-
Available on ServeOptions, provided by the ServeOptions$Typings extension
An {@linkcode AbortSignal} to close the server and all connections.getter/setter pair