Example #1
0
 public wantConn(connectMethod cm = default, connectMethodKey key = default, context.Context ctx = default, channel <object> ready = default, Action beforeDial = default, Action afterDial = default, sync.Mutex mu = default, ref ptr <persistConn> pc = default, error err = default)
 {
     this.cm         = cm;
     this.key        = key;
     this.ctx        = ctx;
     this.ready      = ready;
     this.beforeDial = beforeDial;
     this.afterDial  = afterDial;
     this.mu         = mu;
     this.pc         = pc;
     this.err        = err;
 }
 public persistConn(RoundTripper alt = default, ref ptr <Transport> t = default, connectMethodKey cacheKey = default, net.Conn conn = default, ref ptr <tls.ConnectionState> tlsState = default, ref ptr <bufio.Reader> br = default, ref ptr <bufio.Writer> bw = default, long nwrite = default, channel <requestAndChan> reqch = default, channel <writeRequest> writech = default, channel <object> closech = default, bool isProxy = default, bool sawEOF = default, long readLimit = default, channel <error> writeErrCh = default, channel <object> writeLoopDone = default, time.Time idleAt = default, ref ptr <time.Timer> idleTimer = default, sync.Mutex mu = default, long numExpectedResponses = default, error closed = default, error canceledErr = default, bool broken = default, bool reused = default, Action <Header> mutateHeaderFunc = default)
 {
     this.alt                  = alt;
     this.t                    = t;
     this.cacheKey             = cacheKey;
     this.conn                 = conn;
     this.tlsState             = tlsState;
     this.br                   = br;
     this.bw                   = bw;
     this.nwrite               = nwrite;
     this.reqch                = reqch;
     this.writech              = writech;
     this.closech              = closech;
     this.isProxy              = isProxy;
     this.sawEOF               = sawEOF;
     this.readLimit            = readLimit;
     this.writeErrCh           = writeErrCh;
     this.writeLoopDone        = writeLoopDone;
     this.idleAt               = idleAt;
     this.idleTimer            = idleTimer;
     this.mu                   = mu;
     this.numExpectedResponses = numExpectedResponses;
     this.closed               = closed;
     this.canceledErr          = canceledErr;
     this.broken               = broken;
     this.reused               = reused;
     this.mutateHeaderFunc     = mutateHeaderFunc;
 }