Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for creation (0.28 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        @Throws(IOException::class)
        fun data(
          inFinished: Boolean,
          streamId: Int,
          source: BufferedSource,
          length: Int,
        )
    
        /**
         * Create or update incoming headers, creating the corresponding streams if necessary. Frames
         * that trigger this are HEADERS and PUSH_PROMISE.
         *
         * @param inFinished true if the sender will not send further frames.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. build.gradle.kts

        }
      }
    
      tasks.withType<Checkstyle>().configureEach {
        exclude("**/CipherSuite.java")
      }
    
      val checkstyleConfig: Configuration by configurations.creating
      dependencies {
        checkstyleConfig(rootProject.libs.checkStyle) {
          isTransitive = false
        }
      }
    
      configure<CheckstyleExtension> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

            flags = if (ack) FLAG_ACK else FLAG_NONE,
          )
          sink.writeInt(payload1)
          sink.writeInt(payload2)
          sink.flush()
        }
      }
    
      /**
       * Tell the peer to stop creating streams and that we last processed `lastGoodStreamId`, or zero
       * if no streams were processed.
       *
       * @param lastGoodStreamId the last stream ID processed, or zero if no streams were processed.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response1).isEqualTo("")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
        // Now make the second request which will restrict the first HTTP/2 connection from creating new
        // streams.
        client.newCall(request).enqueue(callback)
        val response2 = responses.take()
        assertThat(response2).isEqualTo("DEF")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

    import okhttp3.Protocol
    import okio.BufferedSource
    
    /**
     * [HTTP/2][Protocol.HTTP_2] only. Processes server-initiated HTTP requests on the client.
     * Implementations must quickly dispatch callbacks to avoid creating a bottleneck.
     *
     * While [onReset] may occur at any time, the following callbacks are expected in order,
     * correlated by stream ID.
     *
     *  * [onRequest]
     *  * [onHeaders] (unless canceled)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Route.kt

     */
    package okhttp3
    
    import java.net.InetSocketAddress
    import java.net.Proxy
    import okhttp3.internal.toCanonicalHost
    
    /**
     * The concrete route used by a connection to reach an abstract origin server. When creating a
     * connection the client has many options:
     *
     *  * **HTTP proxy:** a proxy server may be explicitly configured for the client. Otherwise, the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. CHANGELOG.md

        reading the response body.
    
     *  New: `MockResponse.inTunnel()` is a new `mockwebserver3` API to configure responses that are
        served while creating a proxy tunnel. This obsoletes both the `tunnelProxy` argument on
        `MockWebServer` and the `UPGRADE_TO_SSL_AT_END` socket option. (Only APIs on `mockwebserver3`
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
     * for each request wastes resources on idle pools.
     *
     * Use `new OkHttpClient()` to create a shared instance with the default settings:
     *
     * ```java
     * // The singleton HTTP client.
    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)
  9. .github/workflows/build.yml

            uses: reactivecircus/android-emulator-runner@v2
            with:
              api-level: ${{ matrix.api-level }}
              arch: ${{ matrix.api-level == '34' && 'x86_64' || 'x86' }}
              force-avd-creation: false
              emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
              disable-animations: false
              script: echo "Generated AVD snapshot for caching."
    
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 01:51:50 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  10. okhttp/build.gradle.kts

    }
    
    // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt
    val generateIdnaMappingTableConfiguration: Configuration by configurations.creating
    dependencies {
      generateIdnaMappingTableConfiguration(projects.okhttpIdnaMappingTable)
    }
    val generateIdnaMappingTable by tasks.creating(JavaExec::class.java) {
      outputs.dir("$buildDir/generated/sources/idnaMappingTable")
      mainClass.set("okhttp3.internal.idn.GenerateIdnaMappingTableCode")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top