- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 620 for connecting (0.08 sec)
-
cmd/peer-rest-client.go
xhttp.DrainBody(respBody) return !isNetworkError(err) } var gridConn atomic.Pointer[grid.Connection] return &peerRESTClient{ host: peer, restClient: restClient, gridHost: gridHost, gridConn: func() *grid.Connection { // Lazy initialization of grid connection. // When we create this peer client, the grid connection is likely not yet initialized. if gridHost == "" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
docs/en/docs/reference/testclient.md
# Test Client - `TestClient` You can use the `TestClient` class to test FastAPI applications without creating an actual HTTP and socket connection, just communicating directly with the FastAPI code. Read more about it in the [FastAPI docs for Testing](https://fastapi.tiangolo.com/tutorial/testing/). You can import it directly from `fastapi.testclient`: ```python from fastapi.testclient import TestClient ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 450 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
import java.util.concurrent.FutureTask import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit import mockwebserver3.SocketHandler import okhttp3.internal.connection.BufferedSocket import okhttp3.internal.connection.asBufferedSocket import okio.Socket import okio.utf8Size private typealias Action = (BufferedSocket) -> Unit /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
cmd/storage-rest-client.go
case strings.Contains(err.Error(), http.ErrServerClosed.Error()): return true // Corner case, the server closed the connection with a keep-alive timeout // some requests are not retried internally, such as POST request with written body case strings.Contains(err.Error(), "server closed idle connection"): return true } return false } // Converts network error to storageErr. This function is
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* @return active tree handle * @throws CIFSException if connection fails * */ synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException { // Optimization: Check connection validity more efficiently if (this.treeHandle != null && this.treeHandle.isConnected()) { // Connection is still valid - reuse it
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
/** * Creates a DCERPC pipe handle for named pipe communication * @param url the DCERPC URL specifying the endpoint * @param tc the CIFS context for connection configuration * @param unshared whether to use an exclusive connection * @throws DcerpcException if DCERPC initialization fails * @throws MalformedURLException if the URL is malformed */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
} /** * Attempts to perform a web socket upgrade on the connection. * This will overwrite any previously set status, body, or streamHandler. */ public fun webSocketUpgrade(listener: WebSocketListener): Builder = apply { status = "HTTP/1.1 101 Switching Protocols" setHeader("Connection", "Upgrade") setHeader("Upgrade", "websocket") webSocketListener = listener
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 17.8K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public fun canceled (Lokhttp3/Call;)V public fun connectEnd (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;Lokhttp3/Protocol;)V public fun connectFailed (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;Lokhttp3/Protocol;Ljava/io/IOException;)V public fun connectStart (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;)V public fun connectionAcquired (Lokhttp3/Call;Lokhttp3/Connection;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt
class HeadersRequestTest { @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() { val headerBlock = headersOf( ":status", "200 OK", ":version", "HTTP/1.1", "connection", "close", ) val request = Request.Builder().url("http://square.com/").build() val response = readHttp2HeadersList(headerBlock, Protocol.HTTP_2).request(request).build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java
/** * SMB1 COM_TREE_DISCONNECT command implementation. * * This command disconnects from a tree connection (share) on the server. * It releases the tree ID and terminates access to the share. */ public class SmbComTreeDisconnect extends ServerMessageBlock { /** * Constructs a tree disconnect request to close a connection to a shared resource. * * @param config the configuration to use */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0)