- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 544 for sends (0.05 sec)
-
docs_src/background_tasks/tutorial001.py
app = FastAPI() def write_notification(email: str, message=""): with open("log.txt", mode="w") as email_file: content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks): background_tasks.add_task(write_notification, email, message="some notification")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 519 bytes - Viewed (0) -
doc/go_mem.html
<h3 id="chan">Channel communication</h3> <p> Channel communication is the main method of synchronization between goroutines. Each send on a particular channel is matched to a corresponding receive from that channel, usually in a different goroutine. </p> <p class="rule"> A send on a channel is synchronized before the completion of the corresponding receive from that channel. </p> <p> This program: </p>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
return tunnelResult } } if (route.address.sslSocketFactory != null) { // Assume the server won't send a TLS ServerHello until we send a TLS ClientHello. If // that happens, then we will have buffered bytes that are needed by the SSLSocket! // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0) -
fastapi/exceptions.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
/** * @param cap * @return whether the capabiltiy is present * @throws CIFSException */ boolean hasCapability ( int cap ) throws CIFSException; /** * @return the send buffer size of the underlying connection * @throws CIFSException */ int getSendBufferSize () throws CIFSException; /** * @return the receive buffer size of the underlying connection
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.1K bytes - Viewed (0) -
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py
"webhooks": { "new-subscription": { "post": { "summary": "New Subscription", "description": "When a new user subscribes to your service we'll send you a POST request with this\ndata to the URL that you register for the event `new-subscription` in the dashboard.", "operationId": "new_subscriptionnew_subscription_post", "requestBody": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 20 09:00:44 UTC 2023 - 4.4K bytes - Viewed (0) -
cmd/metrics-v3-audit.go
auditTotalMessages = "total_messages" targetID = "target_id" ) var ( auditFailedMessagesMD = NewCounterMD(auditFailedMessages, "Total number of messages that failed to send since start", targetID) auditTargetQueueLengthMD = NewGaugeMD(auditTargetQueueLength, "Number of unsent messages in queue for target", targetID) auditTotalMessagesMD = NewCounterMD(auditTotalMessages,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 10 14:50:39 UTC 2024 - 1.9K bytes - Viewed (0) -
docs_src/background_tasks/tutorial002_py310.py
def get_query(background_tasks: BackgroundTasks, q: str | None = None): if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q @app.post("/send-notification/{email}") async def send_notification( email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query) ): message = f"message to {email}\n" background_tasks.add_task(write_log, message)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 643 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/NodeVisitor.java
* specified dependency node's children and proceed to its next sibling */ boolean enter(@Nonnull Node node); /** * Ends the visit to the specified dependency node. * * @param node the dependency node to visit * @return <code>true</code> to visit the specified dependency node's next sibling, <code>false</code> to skip the
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 1.8K bytes - Viewed (0) -
fastapi/security/open_id_connect_url.py
Doc( """ By default, if no HTTP Authorization header is provided, required for OpenID Connect authentication, it will automatically cancel the request and send the client an error. If `auto_error` is set to `False`, when the HTTP Authorization header is not available, instead of erroring out, the dependency result will be `None`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 2.7K bytes - Viewed (0)