reloadCertificate method

  1. @override
Future<void> reloadCertificate(
  1. HttpServer server
)
override

reads the certificate files of server again

Implementation

@override
Future<void> reloadCertificate(HttpServer server) async {
  if (_tls[server] == null) return;
  throw UnsupportedError(
    'reloadCertificate: a running dart:io server keeps its certificate. '
    'Restart the app.',
  );
}