Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,867 for receive (0.05 seconds)

  1. docs/en/docs/tutorial/request-form-models.md

    {* ../../docs_src/request_form_models/tutorial002_an_py310.py hl[12] *}
    
    If a client tries to send some extra data, they will receive an **error** response.
    
    For example, if the client tries to send the form fields:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    They will receive an error response telling them that the field `extra` is not allowed:
    
    ```json
    {
        "detail": [
            {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                assertThrows(CIFSException.class, handle::getSessionKey);
            }
        }
    
        @Nested
        @DisplayName("Send/Receive Fragment Tests")
        class SendReceiveFragmentTests {
    
            @Test
            @DisplayName("Should send and receive fragment successfully")
            void testDoSendReceiveFragment_Success() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  3. docs/ko/docs/how-to/custom-request-and-route.md

    /// note | 기술 세부사항
    
    `Request`에는 `request.scope` 속성이 있는데, 이는 요청과 관련된 메타데이터를 담고 있는 Python `dict`입니다.
    
    `Request`에는 또한 `request.receive`가 있는데, 이는 요청의 바디를 "받기(receive)" 위한 함수입니다.
    
    `scope` `dict`와 `receive` 함수는 모두 ASGI 명세의 일부입니다.
    
    그리고 이 두 가지, `scope`와 `receive`가 새로운 `Request` 인스턴스를 만드는 데 필요한 것들입니다.
    
    `Request`에 대해 더 알아보려면 [Starlette의 Requests 문서](https://www.starlette.dev/requests/)를 확인하세요.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/custom-request-and-route.md

    A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
    The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
    And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

        }
    
        /**
         * Get the maximum size for receive operations
         *
         * @return maximum receive size in bytes
         */
        public int getMaxReceiveSize() {
            return maxReceiveSize;
        }
    
        /**
         * Set the maximum size for receive operations
         *
         * @param maxReceiveSize maximum receive size in bytes
         */
        public void setMaxReceiveSize(int maxReceiveSize) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        }
    
        /**
         * Calculate average receive latency in microseconds
         *
         * @return average receive latency
         */
        public double getAverageReceiveLatencyMicros() {
            long receives = rdmaReceives.get();
            if (receives == 0) {
                return 0.0;
            }
            return totalReceiveTime.get() / (double) receives / 1000.0; // Convert to microseconds
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/request-files.md

    # Request Files { #request-files }
    
    You can define files to be uploaded by the client using `File`.
    
    /// info
    
    To receive uploaded files, first install [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    This is because uploaded files are sent as "form data".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/header-param-models.md

    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    If a client tries to send some **extra headers**, they will receive an **error** response.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/cookie-param-models.md

    If a client tries to send some **extra cookies**, they will receive an **error** response.
    
    Poor cookie banners with all their effort to get your consent for the <dfn title="This is another joke. Don't pay attention to me. Have some coffee for your cookie. ☕">API to reject it</dfn>. 🍪
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 11:48:27 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getSendBufferSize() throws CIFSException;
    
        /**
         * Gets the receive buffer size of the underlying SMB connection
         * @return the receive buffer size of the underlying connection
         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getReceiveBufferSize() throws CIFSException;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top