startSharedSecure function

Future<HttpServer> Function(Object?, int) startSharedSecure(
  1. SecurityContext securityContext
)

Implementation

Future<HttpServer> Function(Object?, int) startSharedSecure(
  SecurityContext securityContext,
) {
  return (address, int port) => HttpServer.bindSecure(
    address ?? '127.0.0.1',
    port,
    securityContext,
    shared: true,
  );
}