Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for Ws (0.01 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

      private void run() {
        OkHttpClient client = new OkHttpClient.Builder()
            .readTimeout(0,  TimeUnit.MILLISECONDS)
            .build();
    
        Request request = new Request.Builder()
            .url("ws://echo.websocket.org")
            .build();
        client.newWebSocket(request, this);
    
        // Trigger shutdown of the dispatcher's executor so this process exits immediately.
        client.dispatcher().executorService().shutdown();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.zip.Deflater
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.DeflaterSink
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.zip.Inflater
    import okio.Buffer
    import okio.InflaterSource
    
    private const val OCTETS_TO_ADD_BEFORE_INFLATION = 0x0000ffff
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/middleware.md

    **FastAPI** 🚚 πŸ“š πŸ› οΈ `fastapi.middleware` πŸͺ πŸ‘†, πŸ‘©β€πŸ’». βœ‹οΈ πŸŒ… πŸ’ͺ πŸ› οΈ πŸ‘Ÿ πŸ”— βšͺ️➑️ πŸ’ƒ.
    
    ///
    
    ## `HTTPSRedirectMiddleware`
    
    πŸ› οΈ πŸ‘ˆ 🌐 πŸ“¨ πŸ“¨ πŸ”œ πŸ‘―β€β™‚οΈ `https` βš–οΈ `wss`.
    
    πŸ™† πŸ“¨ πŸ“¨ `http` βš–οΈ `ws` πŸ”œ ❎ πŸ” βš– ↩️.
    
    {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *}
    
    ## `TrustedHostMiddleware`
    
    πŸ› οΈ πŸ‘ˆ 🌐 πŸ“¨ πŸ“¨ βœ”οΈ β˜‘ βš’ `Host` 🎚, βœ” πŸ’‚β€β™‚ πŸ›‘ πŸ‡ΊπŸ‡ΈπŸ” 🦠 🎚 πŸ‘Š.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Fingerprint2011.java

        c = rotateRight(a, 37);
        a += load64(bytes, offset + length - 24);
        c += rotateRight(a, 7);
        a += load64(bytes, offset + length - 16);
        long wf = a + z;
        long ws = b + rotateRight(a, 31) + c;
        long r = shiftMix((vf + ws) * K2 + (wf + vs) * K0);
        return shiftMix(r * K0 + vs) * K2;
      }
    
      @VisibleForTesting
      static long murmurHash64WithSeed(byte[] bytes, int offset, int length, long seed) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/middleware.md

    ///
    
    ## `HTTPSRedirectMiddleware`
    
    Impone que todas las requests entrantes deben ser `https` o `wss`.
    
    Cualquier request entrante a `http` o `ws` serΓ‘ redirigida al esquema seguro.
    
    {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *}
    
    ## `TrustedHostMiddleware`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * detail is invisible to the caller, but subtle use of certain APIs may depend on these internal
       * structures.
       *
       * We make such subtle calls in [okhttp3.internal.ws.MessageInflater] because we try to read a
       * compressed stream that is terminated in a web socket frame even though the DEFLATE stream is
       * not terminated.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

          return httpUrl.toString();
        }
    
        @FromJson HttpUrl urlFromJson(String urlString) {
          if (urlString.startsWith("wss:")) urlString = "https:" + urlString.substring(4);
          if (urlString.startsWith("ws:")) urlString = "http:" + urlString.substring(3);
          return HttpUrl.get(urlString);
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/middleware.md

    ///
    
    ## `HTTPSRedirectMiddleware`
    
    Garante que todas as requisiΓ§Γ΅es devem ser `https` ou `wss`.
    
    Qualquer requisiΓ§Γ£o para `http` ou `ws` serΓ‘ redirecionada para o esquema seguro.
    
    {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *}
    
    ## `TrustedHostMiddleware`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Oct 30 20:00:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/middleware.md

    ///
    
    ## `HTTPSRedirectMiddleware`
    
    Erzwingt, dass alle eingehenden Requests entweder `https` oder `wss` sein mΓΌssen.
    
    Alle eingehenden Requests an `http` oder `ws` werden stattdessen an das sichere Schema umgeleitet.
    
    {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *}
    
    ## `TrustedHostMiddleware`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top