Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shend (0.13 sec)

  1. docs/changelogs/changelog_3x.md

     *  **Web Sockets are now a stable feature of OkHttp.** Since being introduced as a beta feature in
        OkHttp 2.3 our web socket client has matured. Connect to a server's web socket with
        `OkHttpClient.newWebSocket()`, send messages with `send()`, and receive messages with the
        `WebSocketListener`.
    
        The `okhttp-ws` submodule is no longer available and `okhttp-ws` artifacts from previous
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          // This guarantees a deterministic sequence when handling the canceled request:
          // 1. Server reads request and dequeues first response
          // 2. Client cancels request
          // 3. Server tries to send response on the canceled stream
          // Otherwise, there is no guarantee for the sequence. For example, the server may use the
          // first mocked response to respond to the second request.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

    import okhttp3.internal.ws.RealWebSocket
    import okio.Sink
    import okio.Source
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * Factory for [calls][Call], which can be used to send HTTP requests and read their responses.
     *
     * ## OkHttpClients Should Be Shared
     *
     * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    	public abstract fun cancel ()V
    	public abstract fun close (ILjava/lang/String;)Z
    	public abstract fun queueSize ()J
    	public abstract fun request ()Lokhttp3/Request;
    	public abstract fun send (Ljava/lang/String;)Z
    	public abstract fun send (Lokio/ByteString;)Z
    }
    
    public abstract interface class okhttp3/WebSocket$Factory {
    	public abstract fun newWebSocket (Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
    }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
        peer.sendFrame().headers(false, 3, headerEntries("a", "android"))
        for (i in 0..2) {
          // Send frames of summing to size 50, which is windowUpdateThreshold.
          peer.sendFrame().data(false, 3, data(24), 24)
          peer.sendFrame().data(false, 3, data(25), 25)
          peer.sendFrame().data(false, 3, data(1), 1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top