Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 619 for connecting (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

    import java.io.Closeable
    import java.io.IOException
    import java.util.concurrent.LinkedBlockingDeque
    import okhttp3.internal.concurrent.TaskFaker
    import okhttp3.internal.connection.RealConnection
    import okhttp3.internal.connection.RoutePlanner
    import okhttp3.internal.connection.RoutePlanner.ConnectResult
    
    class FakeRoutePlanner(
      val factory: TestValueFactory = TestValueFactory(),
      val taskFaker: TaskFaker = factory.taskFaker,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/testing-websockets.md

    # Testing WebSockets { #testing-websockets }
    
    You can use the same `TestClient` to test WebSockets.
    
    For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *}
    
    /// note
    
    For more details, check Starlette's documentation for <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 453 bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for connecting to the SAM service (version 4).
     * This class provides functionality to establish a connection to the
     * Security Account Manager (SAM) database using the SAMR RPC interface version 4.
     */
    public class MsrpcSamrConnect4 extends samr.SamrConnect4 {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for connecting to the SAM service.
     * This class provides functionality to establish a connection to the
     * Security Account Manager (SAM) database using the SAMR RPC interface.
     */
    public class MsrpcSamrConnect2 extends samr.SamrConnect2 {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for connecting to the SAM service.
     * This class provides functionality to establish a connection to the
     * Security Account Manager (SAM) database using the SAMR RPC interface.
     */
    public class MsrpcSamrConnect2 extends samr.SamrConnect2 {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect4.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * MSRPC implementation for connecting to the SAM service (version 4).
     * This class provides functionality to establish a connection to the
     * Security Account Manager (SAM) database using the SAMR RPC interface version 4.
     */
    public class MsrpcSamrConnect4 extends samr.SamrConnect4 {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. docs/features/connections.md

    address may also share the same underlying TCP socket connection. Sharing a connection has substantial performance benefits: lower latency, higher throughput (due to [TCP slow start](https://www.igvita.com/2011/10/20/faster-web-vs-tcp-slow-start/)) and conserved battery. OkHttp uses a [ConnectionPool](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-connection-pool/) that automatically reuses HTTP/1.x connections and multiplexes HTTP/2 connections.
    
    In OkHttp some fields of the address come...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/transport/Transport.java

         */
        protected abstract void doDisconnect(boolean hard) throws IOException;
    
        /**
         * Establishes a connection to the remote endpoint.
         *
         * @param timeout the maximum time to wait for the connection in milliseconds
         * @throws TransportException if the connection fails or times out
         */
        public synchronized void connect(final long timeout) throws TransportException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java

     */
    package jcifs.internal.smb2.multichannel;
    
    /**
     * SMB3 Multi-Channel connection states
     */
    public enum ChannelState {
        /**
         * Channel is not connected
         */
        DISCONNECTED(0),
    
        /**
         * Connection establishment in progress
         */
        CONNECTING(1),
    
        /**
         * Authentication in progress
         */
        AUTHENTICATING(2),
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

      }
    
      @Test
      fun staleConnectionNotReusedForNonIdempotentRequest() {
        // Capture the connection so that we can later make it stale.
        var connection: RealConnection? = null
        client =
          client
            .newBuilder()
            .addNetworkInterceptor(
              Interceptor { chain ->
                connection = chain.connection() as RealConnection
                chain.proceed(chain.request())
              },
            ).build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top