Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,690 for connection (0.72 sec)

  1. src/test/java/jcifs/SmbTransportPoolTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Comprehensive test suite for SmbTransportPool interface.
     * Tests all transport pool operations including connection management,
     * authentication, and lifecycle operations.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbTransportPool Tests")
    class SmbTransportPoolTest {
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.internal.connection
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.net.Inet4Address
    import java.net.Inet6Address
    import org.junit.jupiter.api.Test
    
    @Suppress("ktlint:standard:property-naming")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

          long t1 = System.nanoTime();
          Request request = chain.request();
          logger.info(String.format("Sending request %s on %s%n%s",
              request.url(), chain.connection(), request.headers()));
          Response response = chain.proceed(request);
    
          long t2 = System.nanoTime();
          logger.info(String.format("Received response for %s in %.1fms%n%s",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  4. internal/deadlineconn/deadlineconn_test.go

    	}
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    
    		tcpConn, terr := tcpListener.AcceptTCP()
    		if terr != nil {
    			t.Errorf("failed to accept new connection. %v", terr)
    			return
    		}
    		deadlineconn := New(tcpConn)
    		deadlineconn.WithReadDeadline(time.Second)
    		deadlineconn.WithWriteDeadline(time.Second)
    		defer deadlineconn.Close()
    
    		// Read a line
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 11 17:15:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/TransportTest.java

                    transport.setState(state);
                    assertFalse(transport.isFailed(), "State " + state + " should not be failed");
                }
            }
        }
    
        @Nested
        @DisplayName("Connection lifecycle tests")
        class ConnectionLifecycleTests {
    
            @Test
            @DisplayName("connect should return true if already connected")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image03.png">
    
    You can send (and receive) many messages:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    And all of them will use the same WebSocket connection.
    
    ## Using `Depends` and others { #using-depends-and-others }
    
    In WebSocket endpoints you can import from `fastapi` and use:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/BufferedSocket.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.net.Socket as JavaNetSocket
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.Socket as OkioSocket
    import okio.asOkioSocket
    import okio.buffer
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. apache-maven/src/main/appended-resources/licenses/MIT.txt

     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
     LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
     OF CONTRACT, TORT OR OTHERWISE,  ARISING FROM, OUT OF OR IN CONNECTION
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. .github/workflows/multipart/nginx-site1.conf

                proxy_connect_timeout 300;
                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
                proxy_set_header Connection "";
                chunked_transfer_encoding off;
    
                proxy_pass http://minio;
            }
        }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 30 10:13:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. .github/workflows/multipart/nginx-site2.conf

                proxy_connect_timeout 300;
                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
                proxy_set_header Connection "";
                chunked_transfer_encoding off;
    
                proxy_pass http://minio;
            }
        }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 30 10:13:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top