- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for print (0.13 sec)
-
docs/changelogs/changelog_4x.md
two addresses are encoded differently, such as `192.168.1.1` and `0::0:0:FFFF:C0A8:101`. Note that OkHttp incorrectly rejected valid certificates resulting in a failure to connect; at no point were invalid certificates accepted. * New: `OkHttpClient.Builder.minWebSocketMessageToCompress()` configures a threshold for compressing outbound web socket messages. Configure this with 0L to always compress outbound
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
* * https://www.unicode.org/reports/tr46/#Validity_Criteria */ @Test fun hostnameInPunycodeNfcAndNfd() { // café can be NFC (é is one code point) or NFD (e plus ´ as two code points). val hostNfc = "café.com" val hostNfcPunycode = "xn--caf-dma.com" val hostNfd = "café.com" val hostNfdPunycode = "xn--cafe-yvc.com"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
// number 0. Since the client may have attempted to reuse the broken connection just before // creating a fresh connection, the server may have recorded 2 requests at this point. The order // of recording is non-deterministic. val requestAfter = server.takeRequest() assertThat( requestAfter.sequenceNumber == 0 ||
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
* For example, the tags in this schema are 0 and 1: * * ``` * Point ::= SEQUENCE { * x [0] INTEGER OPTIONAL, * y [1] INTEGER OPTIONAL * } * ``` * * You may also specify a tag class like [DerHeader.TAG_CLASS_APPLICATION]. The default tag class * is [DerHeader.TAG_CLASS_CONTEXT_SPECIFIC]. * * ``` * Point ::= SEQUENCE { * x [APPLICATION 0] INTEGER OPTIONAL,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/TestTls13Request.kt
return OkHttpClient.Builder() .connectionSpecs(listOf(*specs)) .build() } private fun sendRequest( client: OkHttpClient, url: String, ) { System.out.printf("%-40s ", url) System.out.flush() println(Platform.get()) val request = Request.Builder() .url(url) .build() try { client.newCall(request).execute().use { response ->
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt
* entire response body. If and when the client makes a subsequent request using a pooled socket the * server may not have had time to close the socket. The socket will be closed at an indeterminate * point before or during the second request. It may be closed after client has started sending the * request body. If a request body is not retryable then the client may fail the request, making
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
} } callA.enqueue(callback) callB.enqueue(callback) assertThat(server.takeRequest().path).isEqualTo("/a") callback.await(requestA.url).assertBody("A") // At this point we know the callback is ready, and that it will receive a cancel failure. callback.await(requestB.url).assertFailure("Canceled", "Socket closed") } @Test fun canceledBeforeIOSignalsOnFailure_HTTPS() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
sessionFactory.start(); } HttpUrl authorizeUrl = sessionFactory.newAuthorizeUrl(scopes, team, session -> { initOauthSession(session); System.out.printf("session granted: %s\n", session); }); System.out.printf("open this URL in a browser: %s\n", authorizeUrl); } /** Set the OAuth session for this client. */ public synchronized void initOauthSession(OAuthSession session) {
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
final AtomicLong nextCallId = new AtomicLong(1L); @Override public EventListener create(Call call) { long callId = nextCallId.getAndIncrement(); System.out.printf("%04d %s%n", callId, call.request().url()); return new PrintingEventListener(callId, System.nanoTime()); } }; final long callId; final long callStartNanos;
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K bytes - Viewed (0)