Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 741 for send (0.02 seconds)

  1. tests/test_tutorial/test_background_tasks/test_tutorial001.py

    @workdir_lock
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Notification sent in the background"}
        with open("./log.txt") as f:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 635 bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                } catch (final IOException ioe) {
                    this.state = 0;
                    throw ioe;
                }
            }
        }
    
        /**
         * Send and receive a DCE/RPC message
         *
         * @param msg
         *            the message to send
         * @throws DcerpcException
         *            if there is a DCE/RPC protocol error
         * @throws IOException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  3. internal/event/target/nsq.go

    	}
    
    	if err := target.init(); err != nil {
    		return err
    	}
    
    	_, err := target.isActive()
    	if err != nil {
    		return err
    	}
    	return target.send(eventData)
    }
    
    // send - sends an event to the NSQ.
    func (target *NSQTarget) send(eventData event.Event) error {
    	objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    	if err != nil {
    		return err
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            }
        }
    
        @Override
        public void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) {
                throw new IOException("Connection not established");
            }
    
            try {
                // In real implementation, this would send using DiSNI:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                    }
                }
            }
        }
    
        <T extends CommonServerMessageBlockResponse> T send(final SmbResourceLocatorImpl loc, final CommonServerMessageBlockRequest request,
                final T response, final RequestParam... params) throws CIFSException {
            return send(loc, request, response,
                    params.length == 0 ? EnumSet.noneOf(RequestParam.class) : EnumSet.copyOf(Arrays.asList(params)));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  6. docs_src/background_tasks/tutorial002_an_py310.py

            background_tasks.add_task(write_log, message)
        return q
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(
        email: str, background_tasks: BackgroundTasks, q: Annotated[str, Depends(get_query)]
    ):
        message = f"message to {email}\n"
        background_tasks.add_task(write_log, message)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 683 bytes
    - Click Count (0)
  7. fastapi/sse.py

                """
            ),
        ] = None
        raw_data: Annotated[
            str | None,
            Doc(
                """
                Raw string to send as the `data:` field **without** JSON encoding.
    
                Use this when you need to send pre-formatted text, HTML fragments,
                CSV lines, or any non-JSON payload. The string is placed directly
                into the `data:` field as-is.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                request.flags2 &= ~SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS;
            }
        }
    
        void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
            for (;;) {
                resolveDfs(request);
                try {
                    tree.send(request, response);
                    break;
                } catch (final DfsReferral dre) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        var finished: Boolean = false,
      ) : Sink {
        /**
         * Buffer of outgoing data. This batches writes of small writes into this sink as larges frames
         * written to the outgoing connection. Batching saves the (small) framing overhead.
         */
        private val sendBuffer = Buffer()
    
        /** Trailers to send at the end of the stream. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. docs/metrics/prometheus/alerts.md

    Alerting with prometheus is two step process. First we setup alerts in Prometheus server and then we need to send alerts to the AlertManager.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 23 15:13:23 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top