AngelHttp2 constructor

AngelHttp2(
  1. Angel app,
  2. SecurityContext securityContext, {
  3. bool useZone = true,
  4. bool allowHttp1 = false,
  5. ServerSettings? settings,
})

Implementation

factory AngelHttp2(Angel app, SecurityContext securityContext,
    {bool useZone = true,
    bool allowHttp1 = false,
    ServerSettings? settings}) {
  return AngelHttp2.custom(app, securityContext, SecureServerSocket.bind,
      allowHttp1: allowHttp1, settings: settings);
}