ServeOptions constructor
ServeOptions({})
Implementation
factory ServeOptions({
_i2.num? port,
_i2.String? hostname,
_i5.AbortSignal? signal,
_i2.bool? reusePort,
_i2.Object Function([_i2.Object?])? onError,
void Function(_i2.dynamic)? onListen,
}) =>
ServeOptions._(
port: port,
hostname: hostname,
signal: signal ?? _i6.undefined,
reusePort: reusePort,
onError: onError == null ? null : _i3.allowInterop(onError),
onListen: onListen == null ? null : _i3.allowInterop(onListen),
);