Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Pytest (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * Sets minimum outbound web socket message size (in bytes) that will be compressed.
         *
         * Set to 0 to enable compression for all outbound messages.
         *
         * 1024 by default.
         */
        fun minWebSocketMessageToCompress(bytes: Long) =
          apply {
            require(bytes >= 0) {
              "minWebSocketMessageToCompress must be positive: $bytes"
            }
    
    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)
  2. docs/bucket/notifications/README.md

    
     stanConnection, _ = stan.Connect("test-cluster", "test-client", stan.NatsURL("nats://yourusername:yoursecret@0.0.0.0:4222"), stan.SetConnectionLostHandler(func(c stan.Conn, _ error) {
      go func() {
       for {
        // Reconnect if the connection is lost.
        if stanConnection == nil || stanConnection.NatsConn() == nil ||  !stanConnection.NatsConn().IsConnected() {
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Flaky // STDOUT logging enabled for test
    @Timeout(30)
    @Tag("Slow")
    class EventListenerTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    	public static final field Companion Lokhttp3/ResponseBody$Companion;
    	public fun <init> ()V
    	public final fun byteStream ()Ljava/io/InputStream;
    	public final fun byteString ()Lokio/ByteString;
    	public final fun bytes ()[B
    	public final fun charStream ()Ljava/io/Reader;
    	public fun close ()V
    	public abstract fun contentLength ()J
    	public abstract fun contentType ()Lokhttp3/MediaType;
    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

        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_DATA)
        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_RST_STREAM)
      }
    
      @Test fun writeTimesOutAwaitingConnectionWindow() {
        // Set the peer's receive window to 5 bytes. Give the stream 5 bytes back, so only the
        // connection-level window is applicable.
        val peerSettings = Settings().set(Settings.INITIAL_WINDOW_SIZE, 5)
    
    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