Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ForWebsocket (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/http/listener.go

    	Trace       func(msg string) // Trace when starting.
    	IdleTimeout time.Duration    // Incoming TCP read/write timeout
    }
    
    // ForWebsocket returns TCPOptions valid for websocket net.Conn
    func (t TCPOptions) ForWebsocket() TCPOptions {
    	return TCPOptions{
    		UserTimeout: t.UserTimeout,
    		Interface:   t.Interface,
    		SendBufSize: t.SendBufSize,
    		RecvBufSize: t.RecvBufSize,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

     * canceling may break the entire connection.
     */
    class RealCall(
      val client: OkHttpClient,
      /** The application's original request unadulterated by redirects or auth headers. */
      val originalRequest: Request,
      val forWebSocket: Boolean,
    ) : Call,
      Cloneable,
      Lockable {
      private val connectionPool: RealConnectionPool = client.connectionPool.delegate
    
      @Volatile
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

              readyAsyncCalls.add(enqueuedCall)
    
              // Mutate the AsyncCall so that it shares the AtomicInteger of an existing running call to
              // the same host.
              if (!enqueuedCall.call.forWebSocket) {
                val existingCall = findExistingCallWithHost(enqueuedCall.host)
                if (existingCall != null) enqueuedCall.reuseCallsPerHostFrom(existingCall)
              }
            }
    
            val becameIdle =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

        }
      }
    
      /** Prepares the [request] to be executed at some point in the future. */
      override fun newCall(request: Request): Call = RealCall(this, request, forWebSocket = false)
    
      /** Uses [request] to connect a new web socket. */
      override fun newWebSocket(
        request: Request,
        listener: WebSocketListener,
      ): WebSocket {
        val webSocket =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 51.4K bytes
    - Click Count (0)
Back to Top