Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 67 for WebSockets (0.34 seconds)

  1. docs_src/app_testing/tutorial002_py310.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from fastapi.websockets import WebSocket
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
        return {"msg": "Hello World"}
    
    
    @app.websocket("/ws")
    async def websocket(websocket: WebSocket):
        await websocket.accept()
        await websocket.send_json({"msg": "Hello WebSocket"})
        await websocket.close()
    
    
    def test_read_main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 757 bytes
    - Click Count (0)
  2. fastapi/exception_handlers.py

    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import RequestValidationError, WebSocketRequestValidationError
    from fastapi.utils import is_body_allowed_for_status_code
    from fastapi.websockets import WebSocket
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.status import WS_1008_POLICY_VIOLATION
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 16 17:21:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. fastapi/applications.py

                    [FastAPI docs for WebSockets](https://fastapi.tiangolo.com/advanced/websockets/).
                    """
                ),
            ] = None,
        ) -> Callable[[DecoratedCallable], DecoratedCallable]:
            """
            Decorate a WebSocket function.
    
            Read more about it in the
            [FastAPI docs for WebSockets](https://fastapi.tiangolo.com/advanced/websockets/).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  4. docs/en/docs/release-notes.md

    ## 0.24.0 (2019-05-24)
    
    * Add support for WebSockets with dependencies and parameters.
        * Support included for:
            * `Depends`
            * `Security`
            * `Cookie`
            * `Header`
            * `Path`
            * `Query`
            * ...as these are compatible with the WebSockets protocol (e.g. `Body` is not).
        * [Updated documentation for WebSockets](https://fastapi.tiangolo.com/advanced/websockets/).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.30.md

    - RemoteCommand feature gates for kubectl exec, cp, and attach over WebSockets are now enabled by default (Beta):
      - Server-side feature gate: `TranslateStreamCloseWebsocketRequests`
      - Client-side (kubectl) feature gate: `KUBECTL_REMOTE_COMMAND_WEBSOCKETS`
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jun 18 18:59:10 GMT 2025
    - 398.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

      /**
       * Default call timeout (in milliseconds). By default there is no timeout for complete calls, but
       * there is for the connect, write, and read actions within a call.
       *
       * For WebSockets and duplex calls the timeout only applies to the initial setup.
       */
      @get:JvmName("callTimeoutMillis")
      val callTimeoutMillis: Int = builder.callTimeout
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  7. docs/changelogs/changelog_3x.md

     *  Fix: The previous release introduced a performance regression on Android,
        caused by looking up CA certificates. This is now fixed.
    
    
    ## Version 3.1.0
    
    _2016-02-06_
    
     *  New: WebSockets now defer some writes. This should improve performance for
        some applications.
     *  New: Override `equals()` and `hashCode()` in our new cookie class. This
        class now defines equality by value rather than by reference.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  8. docs/fr/docs/alternatives.md

    API et des CLI.
    
    Comme il est basé sur l'ancienne norme pour les frameworks web Python synchrones (WSGI), il ne peut pas gérer les Websockets et autres, bien qu'il soit également très performant.
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/extensions/vertx-http/runtime/pom.xml
    	quarkus/extensions/jsonp/runtime/pom.xml
    quarkus/extensions/websockets/server/deployment/pom.xml
    	quarkus/core/deployment/pom.xml
    	quarkus/extensions/vertx-http/deployment/pom.xml
    	quarkus/extensions/websockets/server/runtime/pom.xml
    	quarkus/extensions/websockets/client/deployment/pom.xml
    	quarkus/test-framework/junit5-internal/pom.xml
    quarkus/extensions/liquibase/deployment/pom.xml
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 224K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.31.md

    - Enabled feature gates for PortForward (kubectl port-forward) over WebSockets by default (beta).
       - Server-side feature gate: PortForwardWebsocket
       - Client-side (kubectl) feature gate: PORT_FORWARD_WEBSOCKETS environment variable
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Nov 12 11:33:21 GMT 2025
    - 451.9K bytes
    - Click Count (0)
Back to Top