Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 801 for response (0.16 sec)

  1. src/main/java/jcifs/smb1/util/transport/Response.java

    /**
     * Abstract base class for transport layer response objects.
     * Represents a response that can be received through the SMB1 transport layer.
     */
    public abstract class Response {
    
        /**
         * Default constructor for Response.
         */
        public Response() {
            // Default constructor
        }
    
        /**
         * The expiration time for this response in milliseconds.
         */
        public long expiration;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 557 bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    But you can return a `JSONResponse` directly from your *path operations*.
    
    It might be useful, for example, to return custom headers or cookies.
    
    ## Return a `Response` { #return-a-response }
    
    In fact, you can return any `Response` or any sub-class of it.
    
    /// tip
    
    `JSONResponse` itself is a sub-class of `Response`.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Response.java

     */
    package jcifs.util.transport;
    
    /**
     * Interface for transport response messages.
     * This interface represents responses received from network transports.
     */
    public interface Response extends Message {
    
        /**
         * Checks if the response has been received.
         *
         * @return whether the response is received
         */
        boolean isReceived();
    
        /**
         * Set received status
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        }
    
        internal constructor(response: Response) {
          this.request = response.request
          this.protocol = response.protocol
          this.code = response.code
          this.message = response.message
          this.handshake = response.handshake
          this.headers = response.headers.newBuilder()
          this.body = response.body
          this.socket = response.socket
          this.networkResponse = response.networkResponse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/response-headers.md

    Create a response as described in [Return a Response Directly](response-directly.md){.internal-link target=_blank} and pass the headers as an additional parameter:
    
    {* ../../docs_src/response_headers/tutorial001.py hl[10:12] *}
    
    /// note | Technical Details
    
    You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. docs/ru/docs/advanced/response-directly.md

    /// note | Технические детали
    
    Вы также можете использовать `from starlette.responses import JSONResponse`.
    
    **FastAPI** предоставляет `starlette.responses` через `fastapi.responses` просто для вашего удобства, как разработчика. Но большинство доступных Response-классов поступают напрямую из Starlette.
    
    ///
    
    ## Возврат пользовательского `Response`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jul 04 05:21:55 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-model.md

    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass { #annotate-a-response-subclass }
    
    You can also use a subclass of `Response` in the type annotation:
    
    {* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    # Custom Response - HTML, Stream, File, others { #custom-response-html-stream-file-others }
    
    By default, **FastAPI** will return the responses using `JSONResponse`.
    
    You can override it by returning a `Response` directly as seen in [Return a Response directly](response-directly.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/response-cookies.md

    /// note | Technical Details
    
    You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
    
    **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-status-code.md

    ///
    
    It will:
    
    * Return that status code in the response.
    * Document it as such in the OpenAPI schema (and so, in the user interfaces):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note
    
    Some response codes (see the next section) indicate that the response does not have a body.
    
    FastAPI knows this, and will produce OpenAPI docs that state there is no response body.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top