Example #1
0
 public call(sync.WaitGroup wg = default, error err = default, long dups = default, slice <channel <Result> > chans = default)
 {
     this.wg    = wg;
     this.err   = err;
     this.dups  = dups;
     this.chans = chans;
 }
Example #2
0
 public Server(@string URL = default, net.Listener Listener = default, bool EnableHTTP2 = default, ref ptr <tls.Config> TLS = default, ref ptr <http.Server> Config = default, ref ptr <x509.Certificate> certificate = default, sync.WaitGroup wg = default, sync.Mutex mu = default, bool closed = default, map <net.Conn, http.ConnState> conns = default, ref ptr <http.Client> client = default)
 {
     this.URL         = URL;
     this.Listener    = Listener;
     this.EnableHTTP2 = EnableHTTP2;
     this.TLS         = TLS;
     this.Config      = Config;
     this.certificate = certificate;
     this.wg          = wg;
     this.mu          = mu;
     this.closed      = closed;
     this.conns       = conns;
     this.client      = client;
 }