tls static method

ServerTls? tls(
  1. TlsOptions? tls
)

tls of the config, for an adapter

Implementation

static ServerTls? tls(TlsOptions? tls) => tls == null
    ? null
    : ServerTls(certificatePath: tls.certificatePath, keyPath: tls.keyPath);