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