Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for Murray (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

        /** The protocol the server selected. */
        var selected: String? = null
    
        @Throws(Throwable::class)
        override fun invoke(
          proxy: Any,
          method: Method,
          args: Array<Any>?,
        ): Any? {
          val callArgs = args ?: arrayOf<Any?>()
          val methodName = method.name
          val returnType = method.returnType
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Handshake.kt

              listOf()
            }
    
          return Handshake(
            tlsVersion,
            cipherSuite,
            localCertificates.toImmutableList(),
          ) { peerCertificatesCopy }
        }
    
        private fun Array<out Certificate>?.toImmutableList(): List<Certificate> {
          return if (this != null) {
            immutableListOf(*this)
          } else {
            emptyList()
          }
        }
    
        @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/dataclasses.md

        再一次,可以把 `dataclasses` 与标准类型注解一起使用;
    
    8. 注意,*路径操作函数*使用的是普通函数,不是异步函数;
    
        与往常一样,在 FastAPI 中,可以按需组合普通函数与异步函数;
    
        如果不清楚何时使用异步函数或普通函数,请参阅**急不可待?**一节中对 <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank" class="internal-link">`async` 与 `await`</a> 的说明;
    
    9. *路径操作函数*返回的不是数据类(虽然它可以返回数据类),而是返回内含数据的字典列表;
    
        FastAPI 使用(包含数据类的) `response_model` 参数转换响应。
    
    把 `dataclasses` 与其它类型注解组合在一起,可以组成不同形式的复杂数据结构。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:44:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_1x.md

     * Fix: Support the `PATCH` method.
     * Fix: Support request bodies on `DELETE` method.
     * Fix: Drop the `okhttp-protocols` module.
     * Internal: Replaced internal byte array buffers with pooled buffers ("OkBuffer").
    
    
    ## Version 1.3.0
    
    _2014-01-11_
    
     * New: Support for "PATCH" HTTP method in client and MockWebServer.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/body-nested-models.md

    {!../../../docs_src/body_nested_models/tutorial007.py!}
    ```
    
    !!! info "情報"
        `Offer`は`Item`のリストであり、オプションの`Image`のリストを持っていることに注目してください。
    
    ## 純粋なリストのボディ
    
    期待するJSONボディのトップレベルの値がJSON`array`(Pythonの`list`)であれば、Pydanticモデルと同じように、関数のパラメータで型を宣言することができます:
    
    ```Python
    images: List[Image]
    ```
    
    以下のように:
    
    ```Python hl_lines="15"
    {!../../../docs_src/body_nested_models/tutorial008.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial007.py!}
        ```
    
    !!! info
        请注意 `Offer` 拥有一组 `Item` 而反过来 `Item` 又是一个可选的 `Image` 列表是如何发生的。
    
    ## 纯列表请求体
    
    如果你期望的 JSON 请求体的最外层是一个 JSON `array`(即 Python `list`),则可以在路径操作函数的参数中声明此类型,就像声明 Pydantic 模型一样:
    
    ```Python
    images: List[Image]
    ```
    
    例如:
    
    === "Python 3.9+"
    
        ```Python hl_lines="13"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial007_py310.py!}
        ```
    
    !!! info
        👀 ❔ `Offer` ✔️ 📇 `Item`Ⓜ, ❔ 🔄 ✔️ 📦 📇 `Image`Ⓜ
    
    ## 💪 😁 📇
    
    🚥 🔝 🎚 💲 🎻 💪 👆 ⌛ 🎻 `array` (🐍 `list`), 👆 💪 📣 🆎 🔢 🔢, 🎏 Pydantic 🏷:
    
    ```Python
    images: List[Image]
    ```
    
    ⚖️ 🐍 3️⃣.9️⃣ &amp; 🔛:
    
    ```Python
    images: list[Image]
    ```
    
    :
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

        delegate!!.removeValue(s)
      }
    
      override fun getValueNames(): Array<String> {
        return delegate!!.valueNames
      }
    
      @Throws(SSLPeerUnverifiedException::class)
      override fun getPeerCertificates(): Array<Certificate>? {
        return delegate!!.peerCertificates
      }
    
      override fun getLocalCertificates(): Array<Certificate>? {
        return delegate!!.localCertificates
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      }
    
      override fun getSupportedCipherSuites(): Array<String> {
        return delegate!!.supportedCipherSuites
      }
    
      override fun getEnabledCipherSuites(): Array<String> {
        return delegate!!.enabledCipherSuites
      }
    
      override fun setEnabledCipherSuites(suites: Array<String>) {
        delegate!!.enabledCipherSuites = suites
      }
    
      override fun getSupportedProtocols(): Array<String> {
        return delegate!!.supportedProtocols
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.platform.Platform
    
    /**
     * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs.
     * Cleaning a chain returns a list of certificates where the first element is `chain[0]`, each
     * certificate is signed by the certificate that follows, and the last certificate is a trusted CA
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top