Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 268 for orust (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setup() {
        platform.assumeNotBouncyCastle()
      }
    
      /**
       * The pinner should pull the root certificate from the trust manager.
       */
      @Test
      fun pinRootNotPresentInChain() {
        // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703
        val rootCa =
          HeldCertificate
            .Builder()
            .serialNumber(1L)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 24.4K bytes
    - Click Count (2)
  2. docs/zh/docs/advanced/custom-response.md

    如果你追求的是性能,使用[响应模型](../tutorial/response-model.md) 往往比返回 `orjson` 响应更好。
    
    使用响应模型时,FastAPI 会使用 Pydantic 直接把数据序列化为 JSON,不需要诸如通过 `jsonable_encoder` 转换这样的中间步骤(其他情况下会发生)。
    
    并且在底层,Pydantic 使用与 `orjson` 相同的 Rust 机制来序列化 JSON,所以使用响应模型你已经可以获得最佳性能。
    
    ## 默认响应类 { #default-response-class }
    
    在创建 **FastAPI** 类实例或 `APIRouter` 时,你可以指定默认要使用的响应类。
    
    用于定义它的参数是 `default_response_class`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  3. docs/ru/docs/advanced/custom-response.md

    А под капотом Pydantic использует те же базовые механизмы на Rust, что и `orjson`, для сериализации в JSON, так что с моделью ответа вы и так получите лучшую производительность.
    
    ## Класс ответа по умолчанию { #default-response-class }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  4. docs/uk/docs/advanced/custom-response.md

    І «під капотом» Pydantic використовує ті самі внутрішні механізми Rust, що й `orjson`, для серіалізації в JSON, тож ви вже отримаєте найкращу продуктивність із моделлю відповіді.
    
    ## Типова відповідь за замовчуванням { #default-response-class }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                            sids[_i] = new LsarTranslatedSid();
                        }
                        sids[_i].decode(_src);
                    }
                }
            }
        }
    
        /**
         * LSA trust information structure.
         */
        public static class LsarTrustInformation extends NdrObject {
    
            /**
             * Default constructor for LsarTrustInformation.
             */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 42.5K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/custom-response.md

    Con un response model, FastAPI usará Pydantic para serializar los datos a JSON, sin pasos intermedios, como convertirlos con `jsonable_encoder`, que ocurriría en cualquier otro caso.
    
    Y por debajo, Pydantic usa los mismos mecanismos en Rust que `orjson` para serializar a JSON, así que ya obtendrás el mejor rendimiento con un response model.
    
    ## Clase de response por defecto { #default-response-class }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/response-model.md

        * This will be used by the **automatic docs**.
        * It will also be used by automatic client code generation tools.
    * **Serialize** the returned data to JSON using Pydantic, which is written in **Rust**, so it will be **much faster**.
    
    But most importantly:
    
    * It will **limit and filter** the output data to what is defined in the return type.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/response-model.md

        * Isso será usado pela **documentação automática**.
        * Também será usado por ferramentas de geração automática de código do cliente.
    * **Serializar** os dados retornados para JSON usando Pydantic, que é escrito em **Rust**, então será **muito mais rápido**.
    
    Mas o mais importante:
    
    * Ele **limitará e filtrará** os dados de saída para o que está definido no tipo de retorno.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/behind-a-proxy.md

    You can start FastAPI CLI with the *CLI Option* `--forwarded-allow-ips` and pass the IP addresses that should be trusted to read those forwarded headers.
    
    If you set it to `--forwarded-allow-ips="*"` it would trust all the incoming IPs.
    
    If your **server** is behind a trusted **proxy** and only the proxy talks to it, this would make it accept whatever is the IP of that **proxy**.
    
    <div class="termy">
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/response-model.md

        * Це буде використано в **автоматичній документації**.
        * Це також буде використано інструментами, які автоматично генерують клієнтський код.
    * **Серіалізувати** повернені дані в JSON за допомогою Pydantic, який написаний мовою **Rust**, тому це буде **набагато швидше**.
    
    Але найголовніше:
    
    * Це **обмежить та відфільтрує** вихідні дані до того, що визначено в типі повернення.
        * Це особливо важливо для **безпеки**, нижче ми побачимо про це більше.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.2K bytes
    - Click Count (0)
Back to Top