Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for connectStan (0.18 sec)

  1. internal/event/target/nats.go

    		connOpts = append(connOpts, nats.ClientCert(n.ClientCert, n.ClientKey))
    	}
    	return nats.Connect(n.Address.String(), connOpts...)
    }
    
    // To obtain a streaming connection from args.
    func (n NATSArgs) connectStan() (stan.Conn, error) {
    	scheme := "nats"
    	if n.Secure {
    		scheme = "tls"
    	}
    
    	var addressURL string
    	//nolint:gocritic
    	if n.Username != "" && n.Password != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        attempt: Int = this.attempt,
        tunnelRequest: Request? = this.tunnelRequest,
        connectionSpecIndex: Int = this.connectionSpecIndex,
        isTlsFallback: Boolean = this.isTlsFallback,
      ): ConnectPlan {
        return ConnectPlan(
          taskRunner = taskRunner,
          connectionPool = connectionPool,
          readTimeoutMillis = readTimeoutMillis,
          writeTimeoutMillis = writeTimeoutMillis,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        }
        return null
      }
    
      /** Plans to make a new connection by deciding which route to try next. */
      @Throws(IOException::class)
      internal fun planConnect(): ConnectPlan {
        // Use a route from a preceding coalesced connection.
        val localNextRouteToTry = nextRouteToTry
        if (localNextRouteToTry != null) {
          nextRouteToTry = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top