Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Murray (0.16 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

          object : X509TrustManager {
            override fun checkClientTrusted(
              chain: Array<X509Certificate>,
              authType: String,
            ) {}
    
            override fun checkServerTrusted(
              chain: Array<X509Certificate>,
              authType: String,
            ) {}
    
            override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf()
          }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient.Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request.Builder()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

          )
        }
      }
    
      companion object {
        /**
         * Reads all stories in the folders provided, asserts if no story found.
         */
        @JvmStatic
        protected fun createStories(interopTests: Array<String>): List<Any> {
          if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
    
          val result = mutableListOf<Any>()
          for (interopTestName in interopTests) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. mockwebserver/README.md

    from your test's `tearDown()`.
    
    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ```java
    MockResponse response = new MockResponse()
        .addHeader("Content-Type", "application/json; charset=utf-8")
        .addHeader("Cache-Control", "no-cache")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

        val start = (code shl shift) and 0xff
        val end = 1 shl shift
        node.children!!.fill(terminal, start, start + end)
      }
    
      private class Node {
        /** Null if terminal. */
        val children: Array<Node?>?
    
        /** Terminal nodes have a symbol. */
        val symbol: Int
    
        /** Number of bits represented in the terminal node. */
        val terminalBitCount: Int
    
        /** Construct an internal node. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

      override fun getPeerCertificates(): Array<Certificate> {
        return if (certificates.isEmpty()) {
          throw SSLPeerUnverifiedException("peer not authenticated")
        } else {
          certificates as Array<Certificate>
        }
      }
    
      @Throws(
        SSLPeerUnverifiedException::class,
      )
      override fun getPeerCertificateChain(): Array<X509Certificate> {
        throw UnsupportedOperationException()
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        return List(elements.size / 2) { Header(elements[it * 2]!!, elements[it * 2 + 1]!!) }
      }
    
      @JvmStatic
      fun repeat(
        c: Char,
        count: Int,
      ): String {
        val array = CharArray(count)
        Arrays.fill(array, c)
        return String(array)
      }
    
      /**
       * Okio buffers are internally implemented as a linked list of arrays. Usually this implementation
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. buildSrc/src/main/kotlin/Osgi.kt

      plugins.withId("org.jetbrains.kotlin.jvm") {
        applyOsgi("jar", "osgiApi", bndProperties)
      }
    }
    
    private fun Project.applyOsgi(
      jarTaskName: String,
      osgiApiConfigurationName: String,
      bndProperties: Array<out String>,
    ) {
      val osgi = project.sourceSets.create("osgi")
      val osgiApi = project.configurations.getByName(osgiApiConfigurationName)
      val kotlinOsgi =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

        fun verify(
          hostname: String?,
          session: SSLSession?,
        ): Boolean {
          return true
        }
    
        override fun verify(
          certs: Array<out X509Certificate>?,
          hostname: String?,
          session: SSLSession?,
        ): Boolean {
          return true
        }
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? = null
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/AutobahnTester.kt

        )
    
        check(latch.await(10, TimeUnit.SECONDS)) { "Timed out waiting for count." }
      }
    
      companion object {
        private const val HOST = "ws://localhost:9099"
    
        @JvmStatic fun main(args: Array<String>) {
          AutobahnTester().run()
        }
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top