- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 210 for Hafner (0.15 sec)
-
okhttp/src/test/java/okhttp3/DuplexTest.kt
* inbound data and send an early 400 before the request body completes. * * This test sends a slow request that is canceled by the server. It expects the response to still * be readable after the request stream is canceled. */ @Disabled @Test fun serverCancelsRequestBodyAndSendsResponseBody() { client = client.newBuilder() .retryOnConnectionFailure(false)
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) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
participant handler as Exception handler participant dep as Dep with yield participant operation as Path Operation participant tasks as Background tasks Note over client,tasks: Can raise exception for dependency, handled after response is sent Note over client,operation: Can raise HTTPException and can change the response client ->> dep: Start request Note over dep: Run code up to yield opt raise
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt
*/ package okhttp3 import java.io.IOException import java.net.InetAddress import java.net.Socket import javax.net.SocketFactory /** * A [SocketFactory] that delegates calls. Sockets can be configured after creation by * overriding [.configureSocket]. */ open class DelegatingSocketFactory(private val delegate: SocketFactory) : SocketFactory() { @Throws(IOException::class) override fun createSocket(): Socket {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt
* and initializing on first use. * * We use this because eager classpath checks cause confusion and excessive logging in Android, * and we can't rely on classnames after proguard, so are probably best served by falling through * to a situation of trying our least likely noisiest options. */ class DeferredSocketAdapter(private val socketAdapterFactory: Factory) : SocketAdapter {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.1K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
Doing this, our `GzipRequest` will take care of decompressing the data (if necessary) before passing it to our *path operations*. After that, all of the processing logic is the same. But because of our changes in `GzipRequest.body`, the request body will be automatically decompressed when it is loaded by **FastAPI** when needed.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 4.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Response.kt
* cache then this is the timestamp of the original request. */ @get:JvmName("sentRequestAtMillis") val sentRequestAtMillis: Long, /** * Returns a [timestamp][System.currentTimeMillis] taken immediately after OkHttp * received this response's headers from the network. If this response is being served from the * cache then this is the timestamp of the original response. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 15.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
import java.io.IOException import java.net.InetAddress import java.net.Socket import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory /** * A [SSLSocketFactory] that delegates calls. Sockets can be configured after creation by * overriding [.configureSocket]. */ open class DelegatingSSLSocketFactory(private val delegate: SSLSocketFactory) : SSLSocketFactory() { @Throws(IOException::class) override fun createSocket(): SSLSocket {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
private val listener = EventSourceRecorder() private val client = clientTestRule.newClient() @BeforeEach fun before(server: MockWebServer) { this.server = server } @AfterEach fun after() { listener.assertExhausted() } @Test fun processResponse() { 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 - 2.6K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
val subProjectFolders = subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten().filter { dir -> // filter out the directories that have only a `build` subdirectory - this usually happens after branch switching dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty() } assertFalse(subProjectFolders.isEmpty()) return subProjectFolders } @Test
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue Jan 02 10:00:06 GMT 2024 - 13.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
fun socketPolicy(socketPolicy: SocketPolicy) = apply { this.socketPolicy = socketPolicy } /** * Throttles the request reader and response writer to sleep for the given period after each * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior. */ fun throttleBody( bytesPerPeriod: Long, period: Long, unit: TimeUnit,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 13.3K bytes - Viewed (1)