Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for world (0.17 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

      }
    
      @Override public void onOpen(WebSocket webSocket, Response response) {
        webSocket.send("Hello...");
        webSocket.send("...World!");
        webSocket.send(ByteString.decodeHex("deadbeef"));
        webSocket.close(1000, "Goodbye, World!");
      }
    
      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("MESSAGE: " + text);
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 04 11:40:21 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    		{
    			volume, "myobject", 0, 16,
    			[]byte("hello, world"),
    			io.ErrUnexpectedEOF,
    		},
    		// Reading from an offset success. - 7
    		{
    			volume, "myobject", 7, 5,
    			[]byte("world"), nil,
    		},
    		// Reading from an object but buffer size greater. - 8
    		{
    			volume, "myobject",
    			7, 8,
    			[]byte("world"),
    			io.ErrUnexpectedEOF,
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    &amp; 🚥 👆 🚶 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> 👆 🔜 👀 📨 ⚪️➡️ FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    并且如果您访问 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a>,您将会看到由 FastAPI 返回的响应:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. cmd/post-policy_test.go

    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusForbidden,
    			accessKey:          "",
    			secretKey:          "",
    			malformedBody:      false,
    		},
    		// Bad case malformed input.
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusBadRequest,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    And if you go to <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> you will see the response from FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. tests/test_regex_deprecated_params.py

                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_query_params_str_validations_no_query():
        client = get_client()
        response = client.get("/items/")
        assert response.status_code == 200
        assert response.json() == "Hello World"
    
    
    @needs_py310
    def test_query_params_str_validations_q_fixedquery():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/behind-a-proxy.md

    In this case, the original path `/app` would actually be served at `/api/v1/app`.
    
    Even though all your code is written assuming there's just `/app`.
    
    ```Python hl_lines="6"
    {!../../../docs_src/behind_a_proxy/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  9. tests/main.py

    app = FastAPI()
    
    
    @app.api_route("/api_route")
    def non_operation():
        return {"message": "Hello World"}
    
    
    def non_decorated_route():
        return {"message": "Hello World"}
    
    
    app.add_api_route("/non_decorated_route", non_decorated_route)
    
    
    @app.get("/text")
    def get_text():
        return "Hello World"
    
    
    @app.get("/path/{item_id}")
    def get_id(item_id):
        return item_id
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/behind-a-proxy.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    返回的响应如下:
    
    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    ### 在 FastAPI 应用里设置 `root_path`
    
    还有一种方案,如果不能提供 `--root-path` 或等效的命令行选项,则在创建 FastAPI 应用时要设置 `root_path` 参数。
    
    ```Python hl_lines="3"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top