- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 76 for settings (0.22 sec)
-
okcurl/build.gradle.kts
into("$buildDir/generated/resources-templates") expand("projectVersion" to "${project.version}") filteringCharset = Charsets.UTF_8.toString() } kotlin { sourceSets { val main by getting { resources.srcDir(copyResourcesTemplates.get().outputs) } } } dependencies { api(libs.kotlin.stdlib) api(projects.okhttp) api(projects.loggingInterceptor) api(libs.squareup.okio)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.8K bytes - Viewed (1) -
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
+ "KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==\n" + "-----END CERTIFICATE-----"); private final OkHttpClient client; public CustomTrust() { // This implementation just embeds the PEM files in Java strings; most applications will // instead read this from a resource file that gets bundled with the application. HandshakeCertificates certificates = new HandshakeCertificates.Builder()
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 9.3K bytes - Viewed (2) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
var pushPromises: List<PushPromise> = mockResponse.pushPromises pushPromises = mockResponse.pushPromises mockResponse = mockResponse.withSettings(Settings()) var settings: Settings = mockResponse.settings settings = mockResponse.settings mockResponse = mockResponse.withWebSocketUpgrade( object : WebSocketListener() { }, )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.3K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
* [Adam Langley's Weblog][langley]. Pins are either base64 SHA-256 hashes as in * [HTTP Public Key Pinning (HPKP)][rfc_7469] or SHA-1 base64 hashes as in Chromium's * [static certificates][static_certificates]. * * ## Setting up Certificate Pinning * * The easiest way to pin a host is turn on pinning with a broken configuration and read the * expected configuration when the connection fails. Be sure to do this on a trusted network, and
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.2K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
import okhttp3.internal.http.toHttpDateOrNull import okhttp3.internal.http.toHttpDateString import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement /** * The header fields of a single HTTP message. Values are uninterpreted strings; use `Request` and * `Response` for interpreted headers. This class maintains the order of the header fields within * the HTTP message. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt
headerBlock: List<Header>, ) { fail("") } override fun rstStream( streamId: Int, errorCode: ErrorCode, ) { fail("") } override fun settings( clearPrevious: Boolean, settings: Settings, ) { fail("") } override fun ackSettings() { fail("") } override fun ping( ack: Boolean, payload1: Int, payload2: Int, ) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
build.gradle.kts
configure<AnimalSnifferExtension> { annotation = "okhttp3.internal.SuppressSignatureCheck" sourceSets = listOf(project.sourceSets["main"]) } val signature: Configuration by configurations.getting dependencies { // No dependency requirements for testing-support. if (project.name == "okhttp-testing-support") return@dependencies if (project.name == "mockwebserver3-junit5") {
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) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
-----END CERTIFICATE----- """.trimIndent().decodeCertificatePem() private val client: OkHttpClient init { // This implementation just embeds the PEM files in Java strings; most applications will // instead read this from a resource file that gets bundled with the application. val certificates = HandshakeCertificates.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.8K bytes - Viewed (5) -
okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt
} assertThat(socket.enabledCipherSuites) .containsExactly(*expectedCipherSuites.toTypedArray()) } @Test fun tls_stringCiphersAndVersions() { // Supporting arbitrary input strings allows users to enable suites and versions that are not // yet known to the library, but are supported by the platform. ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) .cipherSuites("MAGIC-CIPHER")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
@BeforeEach fun reset() { hpackReader = newReader(bytesIn) hpackWriter = Hpack.Writer(4096, false, bytesOut) } /** * Variable-length quantity special cases strings which are longer than 127 bytes. Values such as * cookies can be 4KiB, and should be possible to send. * * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-5.2 */ @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0)