Lines Matching refs:copts
109 copts transport.ConnectOptions member
148 o.copts.WriteBufferSize = s
156 o.copts.ReadBufferSize = s
164 o.copts.InitialWindowSize = s
172 o.copts.InitialConnWindowSize = s
319 o.copts.TransportCredentials = creds
327 o.copts.PerRPCCredentials = append(o.copts.PerRPCCredentials, creds)
343 o.copts.Dialer = f
369 o.copts.StatsHandler = h
380 o.copts.FailOnNonTempDialError = f
387 o.copts.UserAgent = s
394 o.copts.KeepaliveParams = kp
417 o.copts.Authority = a
482 if cc.dopts.copts.TransportCredentials == nil {
486 if cc.dopts.copts.TransportCredentials != nil {
489 for _, cd := range cc.dopts.copts.PerRPCCredentials {
496 cc.mkp = cc.dopts.copts.KeepaliveParams
498 if cc.dopts.copts.Dialer == nil {
499 cc.dopts.copts.Dialer = newProxyDialer(
507 if cc.dopts.copts.UserAgent != "" {
508 cc.dopts.copts.UserAgent += " " + grpcUA
510 cc.dopts.copts.UserAgent = grpcUA
567 creds := cc.dopts.copts.TransportCredentials
570 } else if cc.dopts.insecure && cc.dopts.copts.Authority != "" {
571 cc.authority = cc.dopts.copts.Authority
594 if creds := cc.dopts.copts.TransportCredentials; creds != nil {
599 Dialer: cc.dopts.copts.Dialer,
1156 v := 2 * ac.dopts.copts.KeepaliveParams.Time
1208 ac.dopts.copts.KeepaliveParams = ac.cc.mkp
1249 copts := ac.dopts.copts
1251 …rr := ac.createTransport(connectRetryNum, ridx, backoffDeadline, connectDeadline, addrsIter, copts)
1263 …nt, backoffDeadline, connectDeadline time.Time, addrs []resolver.Address, copts transport.ConnectO…
1291 copts.ChannelzParentID = ac.channelzID
1293 newTr, err := transport.NewClientTransport(connectCtx, ac.cc.ctx, target, copts, onPrefaceReceipt)