- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 803 for connecting (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
import assertk.assertions.containsExactly import java.util.concurrent.AbstractExecutorService import java.util.concurrent.RejectedExecutionException import java.util.concurrent.TimeUnit import okhttp3.internal.connection.RealCall import okhttp3.internal.finishedAccessor /** * A fake executor for testing that never executes anything! Instead, it just keeps track of what's * been enqueued. */ internal class RecordingExecutor(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Oct 06 18:34:01 UTC 2025 - 2.2K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain") assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip") assertThat(recorded.headers["Connection"]).isNull() assertThat(recorded.headers["User-Agent"]!!).matches(Regex("Jetty/.*")) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt
*/ open fun onClosing( webSocket: WebSocket, code: Int, reason: String, ) { } /** * Invoked when both peers have indicated that no more messages will be transmitted and the * connection has been successfully released. No further calls to this listener will be made. */ open fun onClosed( webSocket: WebSocket, code: Int, reason: String, ) { } /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java
target.setConnection(src); target.setLocation("connection", source.getLocation("connection")); } else if (target.getConnection() == null) { target.setConnection(extrapolateChildUrl(src, source.isChildScmConnectionInheritAppendPath(), context)); target.setLocation("connection", source.getLocation("connection")); } } } @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 21.7K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
Because **FastAPI** doesn't make any changes to a `Response` you return, you have to make sure its contents are ready for it. For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types. For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt
/** * Release any resources held by this dispatcher. Any requests that are currently being dispatched * should return immediately. Responses returned after shutdown will not be transmitted: their * socket connections have already been closed. */ public open override fun close() {}
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 1.6K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt
public val shutdownOutput: Boolean = false, ) : SocketEffect /** * On HTTP/2, send a [GOAWAY frame](https://tools.ietf.org/html/rfc7540#section-6.8) immediately * after the response and will close the connection when the client's socket is exhausted. * * On HTTP/1 this closes the socket. */ public object ShutdownConnection : SocketEffect /** * On HTTP/2 this will send the error code on the stream. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
<class> <name>RepositoryBase</name> <version>1.0.0</version> <description><![CDATA[ Repository contains the information needed for establishing connections with remote repository ]]></description> <fields> <field> <name>id</name> <version>1.0.0</version> <description><![CDATA[
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 22 11:03:29 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbConnectionTest.java
import java.util.Properties; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.config.PropertyConfiguration; /** * Tests for SMB connection batch limit functionality. * Tests the batch limit configuration for various SMB commands. */ public class SmbConnectionTest { /** * Test that getBatchLimit returns correct values for different commandsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Echo response message. * * This response confirms that the server is still active * and the connection is working properly. * * @author mbechler */ public class Smb2EchoResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 echo response * @param config the client configurationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0)