Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for connecting (0.04 sec)

  1. 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_py39.py hl[27:31] *}
    
    /// note
    
    For more details, check Starlette's documentation for <a href="https://www.starlette.dev/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 459 bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/background-tasks.md

    This includes, for example:
    
    * Email notifications sent after performing an action:
        * As connecting to an email server and sending an email tends to be "slow" (several seconds), you can return the response right away and send the email notification in the background.
    * Processing data:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. CHANGELOG.md

        in logs. For best security, don't put sensitive information in query parameters.
    
     *  New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target
        address. Use this to proactively open HTTP connections.
    
        Connections opened to fulfill this policy are subject to the connection pool's
        `keepAliveDuration` but do not count against the pool-wide `maxIdleConnections` limit.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                } else {
                    logger.warn("Invalid index config name: configName={}", configName);
                }
            });
        }
    
        /**
         * Creates an HTTP client for connecting to the search engine.
         *
         * @param fessConfig the Fess configuration
         * @param host       the search engine host address
         * @return the configured HTTP client
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the GCS URL.
         *
         * @param u The URL to open a connection to
         * @return A new GcsURLConnection instance
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

     * The {@link S3URLConnection} class handles the actual connection and data retrieval from the S3 service.
     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the S3 URL.
         *
         * @param u The URL to open a connection to
         * @return A new S3URLConnection instance
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. 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)
  8. tests/test_tutorial/test_websockets/test_tutorial003.py

    
    def test_websocket_handle_disconnection(client: TestClient):
        with (
            client.websocket_connect("/ws/1234") as connection,
            client.websocket_connect("/ws/5678") as connection_two,
        ):
            connection.send_text("Hello from 1234")
            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
            data2 = connection_two.receive_text()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. pom.xml

    			<email>******@****.***</email>
    			<organization>CodeLibs Inc.</organization>
    			<organizationUrl>https://codelibs.co</organizationUrl>
    		</developer>
    	</developers>
    	<scm>
    		<connection>scm:git:******@****.***:codelibs/corelib.git</connection>
    		<url>scm:git:******@****.***:codelibs/corelib.git</url>
    		<developerConnection>scm:git:******@****.***:codelibs/corelib.git</developerConnection>
    	  <tag>HEAD</tag>
      </scm>
    	<properties>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Dec 20 04:15:34 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. pom.xml

    		</developer>
    	</developers>
    	<issueManagement>
    		<system>GitHub</system>
    		<url>https://github.com/codelibs/fess-crawler/issues</url>
    	</issueManagement>
    	<scm>
    		<connection>scm:git:******@****.***:codelibs/fess-crawler.git</connection>
    		<developerConnection>scm:git:******@****.***:codelibs/fess-crawler.git</developerConnection>
    		<url>******@****.***:codelibs/fess-crawler.git</url>
    	  <tag>HEAD</tag>
      </scm>
    	<parent>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Dec 20 06:34:36 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top