- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 201 for handlePing (0.19 sec)
-
docs/en/docs/advanced/websockets.md
!!! tip Notice that the query `token` will be handled by a dependency. With that you can connect the WebSocket and then send and receive messages: <img src="/img/tutorial/websockets/image05.png"> ## Handling disconnections and multiple clients When a WebSocket connection is closed, the `await websocket.receive_text()` will raise a `WebSocketDisconnect` exception, which you can then catch and handle like in this example.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
final List<String> lines = Lists.newArrayList(); LineBuffer lineBuf = new LineBuffer() { @Override protected void handleLine(String line, String end) { lines.add(line + end); } }; char[] chars = input.toCharArray(); int off = 0; while (off < chars.length) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.7K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial004.py
from fastapi.testclient import TestClient from docs_src.handling_errors.tutorial004 import app client = TestClient(app) def test_get_validation_error(): response = client.get("/items/foo") assert response.status_code == 400, response.text # TODO: remove when deprecating Pydantic v1 assert ( # TODO: remove when deprecating Pydantic v1 "path -> item_id" in response.text
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Objects.java
* Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a * single Object array, do not get any special handling; their hash codes are based on identity * and not contents. * * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial006.py
from dirty_equals import IsDict from fastapi.testclient import TestClient from docs_src.handling_errors.tutorial006 import app client = TestClient(app) def test_get_validation_error(): response = client.get("/items/foo") assert response.status_code == 422, response.text assert response.json() == IsDict( { "detail": [ { "type": "int_parsing",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
import org.lastaflute.web.response.ApiResponse; import org.lastaflute.web.response.JsonResponse; /** * @author jflute */ public class FessApiFailureHook implements ApiFailureHook { // #change_it for handling API failure private static final Logger logger = LogManager.getLogger(FessApiFailureHook.class); // ===================================================================================
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java
*/ package org.apache.maven.internal.impl.model; import java.nio.file.Path; import org.apache.maven.api.model.Model; import org.apache.maven.api.services.ModelProblem; /** * Assists in the handling of model problems. * */ public class ModelProblemUtils { /** * Creates a user-friendly source hint for the specified model. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.8K bytes - Viewed (0) -
docs/en/docs/advanced/sub-applications.md
## Mounting a **FastAPI** application "Mounting" means adding a completely "independent" application in a specific path, that then takes care of handling everything under that path, with the _path operations_ declared in that sub-application. ### Top-level application First, create the main, top-level, **FastAPI** application, and its *path operations*:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractBiMap.java
} @Override public @Nullable Object[] toArray() { return standardToArray(); } @Override @SuppressWarnings("nullness") // bug in our checker's handling of toArray signatures public <T extends @Nullable Object> T[] toArray(T[] array) { return standardToArray(array); } @Override public String toString() { return standardToString();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 13.8K bytes - Viewed (0)