- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for hack (0.49 sec)
-
deploy_website.sh
REPO="******@****.***:square/okhttp.git" DIR=temp-clone # Delete any existing temporary website clone rm -rf $DIR # Clone the current repo into temp folder git clone $REPO $DIR # Replace `git clone` with these lines to hack on the website locally # cp -a . "../okhttp-website" # mv "../okhttp-website" "$DIR" # Move working directory into temp folder cd $DIR # Generate the API docs ./gradlew dokkaHtmlMultiModule
Shell Script - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Nov 20 15:26:12 GMT 2023 - 1.2K bytes - Viewed (0) -
.gitmodules
[submodule "okhttp-hpacktests/src/test/resources/hpack-test-case"] path = okhttp-hpacktests/src/test/resources/hpack-test-case
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Dec 10 09:33:37 GMT 2022 - 182 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt
import okio.ByteString /** * This class was originally composed from the following classes in * [Twitter Hpack][twitter_hpack]. * * * `com.twitter.hpack.HuffmanEncoder` * * `com.twitter.hpack.HuffmanDecoder` * * `com.twitter.hpack.HpackUtil` * * [twitter_hpack]: https://github.com/twitter/hpack */ object Huffman { // Appendix C: Huffman Codes
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.3K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** * Tests for round-tripping headers through hpack. * * TODO: update hpack-test-case with the output of our encoder. * This test will hide complementary bugs in the encoder and decoder, * We should test that the encoder is producing responses that are */
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
import okhttp3.internal.http2.hpackjson.HpackJsonUtil import okhttp3.internal.http2.hpackjson.Story import okio.Buffer /** * Tests Hpack implementation using https://github.com/http2jp/hpack-test-case/ */ open class HpackDecodeTestBase { private val bytesIn = Buffer() private val hpackReader = Hpack.Reader(bytesIn, 4096) protected fun testDecoder(story: Story) { for (testCase in story.cases) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
*/ package okhttp3 import java.io.IOException import java.util.concurrent.TimeUnit /** * Observes, modifies, and potentially short-circuits requests going out and the corresponding * responses coming back in. Typically interceptors add, remove, or transform headers on the request * or response. * * Implementations of this interface throw [IOException] to signal connectivity failures. This
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 8.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
server.enqueue(MockResponse(body = "this response comes via SSL")) client = client.newBuilder() .hostnameVerifier( RecordingHostnameVerifier(), ) // Attempt RESTRICTED_TLS then fall back to MODERN_TLS. .connectionSpecs(Arrays.asList(ConnectionSpec.RESTRICTED_TLS, ConnectionSpec.MODERN_TLS)) .sslSocketFactory( suppressTlsFallbackClientSocketFactory(),
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
docs/features/https.md
By default, OkHttp will attempt a `MODERN_TLS` connection. However by configuring the client connectionSpecs you can allow a fall back to `COMPATIBLE_TLS` connection if the modern configuration fails. ```java OkHttpClient client = new OkHttpClient.Builder() .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Dec 24 00:16:30 GMT 2022 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
var low = 0 var high = size var match: String? = null while (low < high) { var mid = (low + high) / 2 // Search for a '\n' that marks the start of a value. Don't go back past the start of the // array. while (mid > -1 && this[mid] != '\n'.code.toByte()) { mid-- } mid++ // Now look for the ending '\n'. var end = 1
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0)