Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 531 for Fun (0.03 sec)

  1. docs_src/dataclasses/tutorial002.py

    
    @app.get("/items/next", response_model=Item)
    async def read_next_item():
        return {
            "name": "Island In The Moon",
            "price": 12.99,
            "description": "A place to be playin' and havin' fun",
            "tags": ["breater"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 549 bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

    import okhttp3.tls.decodeCertificatePem
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Test for new Let's Encrypt Root Certificate.
     */
    @Tag("Remote")
    class LetsEncryptClientTest {
      @Test fun get() {
        // These tests wont actually run before Android 8.0 as per
        // https://github.com/mannodermaus/android-junit5
        // Raised https://github.com/mannodermaus/android-junit5/issues/228 to reevaluate
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

    ) {
      @JvmName("-deprecated_javaName")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "javaName"),
        level = DeprecationLevel.ERROR,
      )
      fun javaName(): String = javaName
    
      override fun toString(): String = javaName
    
      companion object {
        /**
         * Compares cipher suites names like "TLS_RSA_WITH_NULL_MD5" and "SSL_RSA_WITH_NULL_MD5",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 39.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-NormalizeJvm.kt

     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import java.text.Normalizer
    import java.text.Normalizer.Form.NFC
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 842 bytes
    - Viewed (0)
  5. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class JavaHttpClientTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      @Test fun get(server: MockWebServer) {
        // Not available
        platform.expectFailureOnJdkVersion(8)
    
        val httpClient =
          HttpClient.newBuilder()
            .followRedirects(NORMAL)
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ForceConnectRoutePlanner.kt

    /**
     * A RoutePlanner that will always establish a new connection, ignoring any connection pooling
     */
    class ForceConnectRoutePlanner(private val delegate: RealRoutePlanner) : RoutePlanner by delegate {
      override fun plan(): RoutePlanner.Plan = delegate.planConnect() // not delegate.plan()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 932 bytes
    - Viewed (0)
  7. docs_src/dataclasses/tutorial003.py

        return [  # (9)
            {
                "name": "Breaters",
                "items": [
                    {
                        "name": "Island In The Moon",
                        "description": "A place to be playin' and havin' fun",
                    },
                    {"name": "Holy Buddies"},
                ],
            },
            {
                "name": "System of an Up",
                "items": [
                    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt

    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSession
    
    class RecordingHostnameVerifier : HostnameVerifier {
      @JvmField
      val calls: MutableList<String> = mutableListOf()
    
      @Synchronized override fun verify(
        hostname: String,
        session: SSLSession,
      ): Boolean {
        calls.add("verify $hostname")
        return true
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 980 bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 931 bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/CertificatesTest.kt

     * limitations under the License.
     */
    package okhttp3.tls
    
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    class CertificatesTest {
      @Test fun testRoundtrip() {
        val certificateString =
          """
          -----BEGIN CERTIFICATE-----
          MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwhjYXNo
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top