- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 81 for Berger (0.14 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
val address = factory.newAddress() proxySelector.proxies.add(Proxy.NO_PROXY) val routeSelector = newRouteSelector(address) proxySelector.assertRequests(address.url.toUri()) // Only the origin server will be attempted. assertThat(routeSelector.hasNext()).isTrue() dns[uriHost] = dns.allocate(1) val selection = routeSelector.next()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 20.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* is used to verify the signature of the "www.squareup.com" certificate. * * This roles are reversed for client authentication. In that case the client has a private key and * a chain of certificates. The server uses a set of trusted root certificates to authenticate the * client. Subject alternative names are not used for client authentication. */ @Suppress("DEPRECATION") class HeldCertificate(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
internal const val OPCODE_CONTROL_CLOSE = 0x8 internal const val OPCODE_CONTROL_PING = 0x9 internal const val OPCODE_CONTROL_PONG = 0xa /** * Maximum length of frame payload. Larger payloads, if supported by the frame type, can use the * special values [PAYLOAD_SHORT] or [PAYLOAD_LONG]. */ internal const val PAYLOAD_BYTE_MAX = 125L /** Maximum length of close message in bytes. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
) } else { result += current current = if (i.hasNext()) i.next() else break } } return result } /** Returns a copy of [mappings] with adjacent ranges merged wherever possible. */ internal fun mergeAdjacentRanges(mappings: List<Mapping>): List<Mapping> { var index = 0 val result = mutableListOf<Mapping>() while (index < mappings.size) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} private fun WebSocketExtensions.isValid(): Boolean { // If the server returned parameters we don't understand, fail the web socket. if (unknownValues) return false // If the server returned a value for client_max_window_bits, fail the web socket. if (clientMaxWindowBits != null) return false // If the server returned an illegal server_max_window_bits, fail the web socket.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
* Fix: Allow interceptors to change the request method. * Fix: Don’t use the request's `User-Agent` or `Proxy-Authorization` when connecting to an HTTPS server via an HTTP tunnel. The `Proxy-Authorization` header was being leaked to the origin server. * Fix: Digits may be used in a URL scheme. * Fix: Improve connection timeout recovery. * Fix: Recover from `getsockname` crashes impacting Android releases prior to
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
) server.enqueue( MockResponse.Builder() .body("B") .build(), ) assertThat(get(server.url("/a")).body.string()).isEqualTo("A") assertThat(get(server.url("/a")).body.string()).isEqualTo("A") assertThat(get(server.url("/b")).body.string()).isEqualTo("B") assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
.build() private val executorService = Executors.newScheduledThreadPool(1) @BeforeEach fun setUp(server: MockWebServer) { this.server = server platform.assumeNotOpenJSSE() platform.assumeHttp2Support() } @AfterEach fun tearDown() { executorService.shutdown() } @Test @Throws(IOException::class) fun http1DoesntSupportDuplex() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 23.9K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
.eventListenerFactory(clientTestRule.wrap(eventListener)) .build() @BeforeEach fun before(server: MockWebServer) { this.server = server } @AfterEach fun after() { listener.assertExhausted() } @Test fun event() { server.enqueue( MockResponse.Builder() .body( """ |data: hey | |
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 6.6K bytes - Viewed (0) -
mockwebserver-junit5/README.md
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 1.3K bytes - Viewed (0)