- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for react (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
(if (isCanceled()) "canceled " else "") + (if (forWebSocket) "web socket" else "call") + " to " + redactedUrl() ) } internal fun redactedUrl(): String = originalRequest.url.redact() inner class AsyncCall( private val responseCallback: Callback, ) : Runnable { @Volatile var callsPerHost = AtomicInteger(0) private set
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
val baseWithPasswordOnly = parse("http://password@host/a/b#fragment") assertThat(baseWithPasswordAndUsername.redact()).isEqualTo("http://host/...") assertThat(baseWithUsernameOnly.redact()).isEqualTo("http://host/...") assertThat(baseWithPasswordOnly.redact()).isEqualTo("http://host/...") } @Test fun resolveNoScheme() { val base = parse("http://host/a/b")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Route.kt
* limitations under the License. */ 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 Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.3K bytes - Viewed (0) -
CHANGELOG.md
requests with the same POST data get the same cache entry. * New: `HttpLoggingInterceptor.redactQueryParams()` configures the query parameters to redact in logs. For best security, don't put sensitive information in query parameters. * New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val queryParameterValue: String? = httpUrl.queryParameterValue(0) val encodedFragment: String? = httpUrl.encodedFragment val fragment: String? = httpUrl.fragment val redact: String = httpUrl.redact() var builder: HttpUrl.Builder = httpUrl.newBuilder() var resolveBuilder: HttpUrl.Builder? = httpUrl.newBuilder("") val topPrivateDomain: String? = httpUrl.topPrivateDomain()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 46.5K bytes - Viewed (4) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
close(1010, "unexpected Sec-WebSocket-Extensions in response header") } } // Process all web socket messages. val name = "$okHttpName WebSocket ${request.url.redact()}" initReaderAndWriter(name, streams) loopReader(response) } override fun onFailure( call: Call, e: IOException, ) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
_2015-03-16_ * **HTTP/2 support.** We've done interop testing and haven't seen any problems. HTTP/2 support has been a big effort and we're particularly thankful to Adrian Cole who has helped us to reach this milestone. * **RC4 cipher suites are no longer supported by default.** To connect to old, obsolete servers relying on these cipher suites, you must create a custom `ConnectionSpec`.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
import org.opentest4j.TestAbortedException /** * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to * `::1` will reach the IPv6 server. * * By orchestrating two different servers with the same port but different IP addresses, we can * test what OkHttp does when both are reachable, or if only one is reachable. *
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* this client silently recovers from the following problems: * * * **Unreachable IP addresses.** If the URL's host has multiple IP addresses, * failure to reach any individual IP address doesn't fail the overall request. This can * increase availability of multi-homed services. * * * **Stale pooled connections.** The [ConnectionPool] reuses sockets
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* q: cute #puppies * f: images * ``` * * In addition to composing URLs from their component parts and decomposing URLs into their * component parts, this class implements relative URL resolution: what address you'd reach by * clicking a relative link on a specified page. For example: * * ```java * HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos"); * HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc");
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1)