toSSLSupportMethod method

SSLSupportMethod toSSLSupportMethod()

Implementation

SSLSupportMethod toSSLSupportMethod() {
  switch (this) {
    case 'sni-only':
      return SSLSupportMethod.sniOnly;
    case 'vip':
      return SSLSupportMethod.vip;
  }
  throw Exception('$this is not known in enum SSLSupportMethod');
}