Exemplo n.º 1
0
 public typeInfo(typeId id = default, sync.Mutex encInit = default, atomic.Value encoder = default, ref ptr <wireType> wire = default)
 {
     this.id      = id;
     this.encInit = encInit;
     this.encoder = encoder;
     this.wire    = wire;
 }
Exemplo n.º 2
0
 public Transport(sync.Mutex idleMu = default, bool closeIdle = default, map <connectMethodKey, slice <ptr <persistConn> > > idleConn = default, map <connectMethodKey, wantConnQueue> idleConnWait = default, connLRU idleLRU = default, sync.Mutex reqMu = default, map <cancelKey, Action <error> > reqCanceler = default, sync.Mutex altMu = default, atomic.Value altProto = default, sync.Mutex connsPerHostMu = default, map <connectMethodKey, long> connsPerHost = default, map <connectMethodKey, wantConnQueue> connsPerHostWait = default, Func <ptr <Request>, (ptr <url.URL>, error)> Proxy = default, Func <context.Context, @string, @string, (net.Conn, error)> DialContext = default, Func <@string, @string, (net.Conn, error)> Dial = default, Func <context.Context, @string, @string, (net.Conn, error)> DialTLSContext = default, Func <@string, @string, (net.Conn, error)> DialTLS = default, ref ptr <tls.Config> TLSClientConfig = default, time.Duration TLSHandshakeTimeout = default, bool DisableKeepAlives = default, bool DisableCompression = default, long MaxIdleConns = default, long MaxIdleConnsPerHost = default, long MaxConnsPerHost = default, time.Duration IdleConnTimeout = default, time.Duration ResponseHeaderTimeout = default, time.Duration ExpectContinueTimeout = default, map <@string, Func <@string, ptr <tls.Conn>, RoundTripper> > TLSNextProto = default, Header ProxyConnectHeader = default, long MaxResponseHeaderBytes = default, long WriteBufferSize = default, long ReadBufferSize = default, sync.Once nextProtoOnce = default, h2Transport h2transport = default, bool tlsNextProtoWasNil = default, bool ForceAttemptHTTP2 = default)
Exemplo n.º 3
0
 public conn(ref ptr <Server> server = default, context.CancelFunc cancelCtx = default, net.Conn rwc = default, @string remoteAddr = default, ref ptr <tls.ConnectionState> tlsState = default, error werr = default, ref ptr <connReader> r = default, ref ptr <bufio.Reader> bufr = default, ref ptr <bufio.Writer> bufw = default, @string lastMethod = default, atomic.Value curReq = default, sync.Mutex mu = default, bool hijackedv = default)
 {
     this.server     = server;
     this.cancelCtx  = cancelCtx;
     this.rwc        = rwc;
     this.remoteAddr = remoteAddr;
     this.tlsState   = tlsState;
     this.werr       = werr;
     this.r          = r;
     this.bufr       = bufr;
     this.bufw       = bufw;
     this.lastMethod = lastMethod;
     this.curReq     = curReq;
     this.mu         = mu;
     this.hijackedv  = hijackedv;
 }
Exemplo n.º 4
0
 public String(atomic.Value s = default)
 {
     this.s = s;
 }
Exemplo n.º 5
0
 public Map(Mutex mu = default, atomic.Value read = default, long misses = default)
 {
     this.mu     = mu;
     this.read   = read;
     this.misses = misses;
 }