Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,510 for Response (0.05 sec)

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

    package jcifs.smb1.util.transport;
    
    public abstract class Response {
        public long expiration;
        public boolean isReceived;
    Registered: 2025-05-25 00:10
    - Last Modified: 2019-03-22 20:39
    - 130 bytes
    - Viewed (0)
  2. 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.networkResponse = response.networkResponse
    Registered: 2025-05-30 11:42
    - Last Modified: 2025-05-27 15:19
    - 16.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Response.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util.transport;
    
    
    /**
     *
     */
    public interface Response extends Message {
    
        /**
         * 
         * @return whether the response is received
         */
        boolean isReceived ();
    
    
        /**
         * Set received status
         */
        void received ();
    
    
        /**
         * Unset received status
    Registered: 2025-05-25 00:10
    - Last Modified: 2018-07-01 13:12
    - 2.3K bytes
    - Viewed (0)
  4. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Response
    ```
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-04-18 19:53
    - 397 bytes
    - Viewed (0)
  5. docs/es/docs/advanced/response-headers.md

    Crea un response como se describe en [Retorna un Response Directamente](response-directly.md){.internal-link target=_blank} y pasa los headers como un parรกmetro adicional:
    
    {* ../../docs_src/response_headers/tutorial001.py hl[10:12] *}
    
    /// note | Detalles Tรฉcnicos
    
    Tambiรฉn podrรญas usar `from starlette.responses import Response` o `from starlette.responses import JSONResponse`.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-12-30 17:46
    - 2.4K bytes
    - Viewed (0)
  6. 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`
    
    In fact, you can return any `Response` or any sub-class of it.
    
    /// tip
    
    `JSONResponse` itself is a sub-class of `Response`.
    
    ///
    
    And when you return a `Response`, **FastAPI** will pass it directly.
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-09 16:39
    - 2.9K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/custom-response.md

    ๐Ÿ”ข, **FastAPI** ๐Ÿ”œ ๐Ÿ“จ ๐Ÿ“จ โš™๏ธ `JSONResponse`.
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ” โšซ๏ธ ๐Ÿ›ฌ `Response` ๐Ÿ”— ๐Ÿ‘€ [๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”—](response-directly.md){.internal-link target=_blank}.
    
    โœ‹๏ธ ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“จ `Response` ๐Ÿ”—, ๐Ÿ“Š ๐Ÿ† ๐Ÿšซ ๐Ÿ” ๐Ÿ—œ, & ๐Ÿงพ ๐Ÿ† ๐Ÿšซ ๐Ÿ” ๐Ÿ— (๐Ÿ–ผ, ๐Ÿ”Œ ๐ŸŽฏ "๐Ÿ“ป ๐Ÿ†Ž", ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐ŸŽš `Content-Type` ๐Ÿ• ๐Ÿ— ๐Ÿ—„).
    
    โœ‹๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ `Response` ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’š โš™๏ธ, *โžก ๐Ÿ› ๏ธ ๐Ÿ‘จโ€๐ŸŽจ*.
    
    ๐ŸŽš ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ“จ โšช๏ธโžก๏ธ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* ๐Ÿ”œ ๐Ÿšฎ ๐Ÿ”˜ ๐Ÿ‘ˆ `Response`.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 9.4K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/response-directly.md

    ็›ดๆŽฅ่ฟ”ๅ›žๅ“ๅบ”ๅฏ่ƒฝไผšๆœ‰็”จๅค„๏ผŒๆฏ”ๅฆ‚่ฟ”ๅ›ž่‡ชๅฎšไน‰็š„ๅ“ๅบ”ๅคดๅ’Œ cookiesใ€‚
    
    ## ่ฟ”ๅ›ž `Response`
    
    ไบ‹ๅฎžไธŠ๏ผŒไฝ ๅฏไปฅ่ฟ”ๅ›žไปปๆ„ `Response` ๆˆ–่€…ไปปๆ„ `Response` ็š„ๅญ็ฑปใ€‚
    
    /// tip | ๅฐ่ดดๅฃซ
    
    `JSONResponse` ๆœฌ่บซๆ˜ฏไธ€ไธช `Response` ็š„ๅญ็ฑปใ€‚
    
    ///
    
    ๅฝ“ไฝ ่ฟ”ๅ›žไธ€ไธช `Response` ๆ—ถ๏ผŒ**FastAPI** ไผš็›ดๆŽฅไผ ้€’ๅฎƒใ€‚
    
    **FastAPI** ไธไผš็”จ Pydantic ๆจกๅž‹ๅšไปปไฝ•ๆ•ฐๆฎ่ฝฌๆข๏ผŒไธไผšๅฐ†ๅ“ๅบ”ๅ†…ๅฎน่ฝฌๆขๆˆไปปไฝ•็ฑปๅž‹๏ผŒ็ญ‰็ญ‰ใ€‚
    
    ่ฟ™็ง็‰นๆ€ง็ป™ไฝ ๆžๅคง็š„ๅฏๆ‰ฉๅฑ•ๆ€งใ€‚ไฝ ๅฏไปฅ่ฟ”ๅ›žไปปไฝ•ๆ•ฐๆฎ็ฑปๅž‹๏ผŒ้‡ๅ†™ไปปไฝ•ๆ•ฐๆฎๅฃฐๆ˜Žๆˆ–่€…ๆ ก้ชŒ๏ผŒ็ญ‰็ญ‰ใ€‚
    
    ## ๅœจ `Response` ไธญไฝฟ็”จ `jsonable_encoder`
    
    ็”ฑไบŽ **FastAPI** ๅนถๆœชๅฏนไฝ ่ฟ”ๅ›ž็š„ `Response` ๅšไปปไฝ•ๆ”นๅ˜๏ผŒไฝ ๅฟ…้กป็กฎไฟไฝ ๅทฒ็ปๅ‡†ๅค‡ๅฅฝๅ“ๅบ”ๅ†…ๅฎนใ€‚
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 3K bytes
    - Viewed (0)
  9. docs/ko/docs/advanced/response-directly.md

    ์˜ˆ๋ฅผ ๋“ค์–ด, ์‚ฌ์šฉ์ž ์ •์˜ ํ—ค๋”๋‚˜ ์ฟ ํ‚ค๋ฅผ ๋ฐ˜ํ™˜ํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ์— ์œ ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ## `Response` ๋ฐ˜ํ™˜ํ•˜๊ธฐ
    
    ์‚ฌ์‹ค, `Response` ๋˜๋Š” ๊ทธ ํ•˜์œ„ ํด๋ž˜์Šค๋ฅผ ๋ฐ˜ํ™˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    /// tip
    
    `JSONResponse` ์ž์ฒด๋„ `Response`์˜ ํ•˜์œ„ ํด๋ž˜์Šค์ž…๋‹ˆ๋‹ค.
    
    ///
    
    ๊ทธ๋ฆฌ๊ณ  `Response`๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋ฉด **FastAPI**๊ฐ€ ์ด๋ฅผ ๊ทธ๋Œ€๋กœ ์ „๋‹ฌํ•ฉ๋‹ˆ๋‹ค.
    
    Pydantic ๋ชจ๋ธ๋กœ ๋ฐ์ดํ„ฐ ๋ณ€ํ™˜์„ ์ˆ˜ํ–‰ํ•˜์ง€ ์•Š์œผ๋ฉฐ, ๋‚ด์šฉ์„ ๋‹ค๋ฅธ ํ˜•์‹์œผ๋กœ ๋ณ€ํ™˜ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
    
    ์ด๋กœ ์ธํ•ด ๋งŽ์€ ์œ ์—ฐ์„ฑ์„ ์–ป์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์–ด๋–ค ๋ฐ์ดํ„ฐ ์œ ํ˜•์ด๋“  ๋ฐ˜ํ™˜ํ•  ์ˆ˜ ์žˆ๊ณ , ๋ฐ์ดํ„ฐ ์„ ์–ธ์ด๋‚˜ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ๋ฅผ ์žฌ์ •์˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ## `Response`์—์„œ `jsonable_encoder` ์‚ฌ์šฉํ•˜๊ธฐ
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 3.4K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/response-headers.md

    Erstellen Sie eine Response wie in [Eine Response direkt zurรผckgeben](response-directly.md){.internal-link target=_blank} beschrieben und รผbergeben Sie die Header als zusรคtzlichen Parameter:
    
    {* ../../docs_src/response_headers/tutorial001.py hl[10:12] *}
    
    /// note | Technische Details
    
    Sie kรถnnen auch `from starlette.responses import Response` oder `from starlette.responses import JSONResponse` verwenden.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 2.6K bytes
    - Viewed (2)
Back to top