startSharedHttp2 function

Future<SecureServerSocket> startSharedHttp2(
  1. dynamic address,
  2. int port,
  3. SecurityContext ctx
)

Boots a shared server instance. Use this if launching multiple isolates.

Implementation

Future<SecureServerSocket> startSharedHttp2(
    address, int port, SecurityContext ctx) {
  return SecureServerSocket.bind(address, port, ctx, shared: true);
}