ServeOptions$Typings extension

on

Properties

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