AngelHttp.fromSecurityContext constructor

AngelHttp.fromSecurityContext(
  1. Angel app,
  2. SecurityContext context, {
  3. bool useZone = true,
})

Implementation

factory AngelHttp.fromSecurityContext(Angel app, SecurityContext context,
    {bool useZone = true}) {
  return AngelHttp._(app, (address, int port) {
    return HttpServer.bindSecure(address, port, context);
  }, useZone);
}