- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 168 for reroute (0.27 seconds)
-
docs/en/docs/how-to/custom-request-and-route.md
If there's no `gzip` in the header, it will not try to decompress the body. That way, the same route class can handle gzip compressed or uncompressed requests. {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[9:16] *} ### Create a custom `GzipRoute` class { #create-a-custom-gziproute-class }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.4K bytes - Click Count (0) -
docs/tr/docs/how-to/custom-request-and-route.md
/// Önce, uygun bir header mevcut olduğunda body'yi açmak için `Request.body()` metodunu overwrite edecek bir `GzipRequest` sınıfı oluşturuyoruz. Header'da `gzip` yoksa body'yi açmayı denemez. Böylece aynı route sınıfı, gzip ile sıkıştırılmış veya sıkıştırılmamış request'leri handle edebilir. {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[9:16] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/ko/docs/how-to/custom-request-and-route.md
/// 먼저, `GzipRequest` 클래스를 만듭니다. 이 클래스는 `Request.body()` 메서드를 덮어써서, 적절한 헤더가 있는 경우 바디를 압축 해제합니다. 헤더에 `gzip`이 없으면 바디를 압축 해제하려고 시도하지 않습니다. 이렇게 하면 동일한 route 클래스가 gzip으로 압축된 요청과 압축되지 않은 요청을 모두 처리할 수 있습니다. {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[9:16] *} ### 커스텀 `GzipRoute` 클래스 만들기 { #create-a-custom-gziproute-class }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/fr/docs/how-to/custom-request-and-route.md
S'il n'y a pas `gzip` dans l'en-tête, elle n'essaiera pas de décompresser le corps. De cette manière, la même classe de route peut gérer des requêtes gzip compressées ou non compressées. {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[9:16] *} ### Créer une classe `GzipRoute` personnalisée { #create-a-custom-gziproute-class }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 5.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
var uriPort: Int = 1 fun newConnection( pool: RealConnectionPool, route: Route, idleAtNanos: Long = Long.MAX_VALUE, taskRunner: TaskRunner = this.taskRunner, ): RealConnection { val result = RealConnection.newTestConnection( taskRunner = taskRunner, connectionPool = pool, route = route, socket = Socket(), idleAtNs = idleAtNanos, )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
route.address.url.toUri(), route.proxy.address(), e, ) } call.eventListener.connectFailed(call, route.socketAddress, route.proxy, null, e) connectionPool.connectionListener.connectFailed(route, call, e) return ConnectResult(plan = this, throwable = e) } finally { call.plansToCancel -= this if (!success) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
internal/grid/README.md
The client does not wait for the remote handler to finish before returning. Returning any error will also cancel the stream remotely. CAREFUL: When utilizing two-way communication, it is important to ensure that the remote handler is not blocked on a send. If the remote handler is blocked on a send, and the client is trying to send without the remote receiving,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
responseBody = Buffer().asResponseBody(null, 0L) } @Test fun route() { val route: Route = factory.newRoute() val address: Address = route.address val proxy: Proxy = route.proxy val inetSocketAddress: InetSocketAddress = route.socketAddress val requiresTunnel: Boolean = route.requiresTunnel() } @Test fun socketPolicy() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
var planningThrowable: Throwable? = null var canceled = false var connectState = ConnectState.READY val connection = factory.newConnection( pool = pool, route = factory.newRoute(address), idleAtNanos = defaultConnectionIdleAtNanos, ) var retry: FakePlan? = null var retryTaken = false var yieldBeforePlanReturns = false override val isReady: BooleanCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/pt/docs/how-to/custom-request-and-route.md
Sebastián Ramírez <******@****.***> 1773944443 +0100
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.9K bytes - Click Count (0)