Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 127 for Gill (0.22 sec)

  1. okhttp/src/main/kotlin/okhttp3/Response.kt

      /**
       * Returns the raw response received from the network. Will be null if this response didn't use
       * the network, such as when the response is fully cached. The body of the returned response
       * should not be read.
       */
      @get:JvmName("networkResponse") val networkResponse: Response?,
      /**
       * Returns the raw response received from the cache. Will be null if this response didn't use
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        listener.enqueueCancel() // Will cancel in onOpen().
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
        val response = client.newCall(request).execute()
        processResponse(response, listener)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/CookieJar.kt

        cookies: List<Cookie>,
      )
    
      /**
       * Load cookies from the jar for an HTTP request to [url]. This method returns a possibly
       * empty list of cookies for the network request.
       *
       * Simple implementations will return the accepted cookies that have not yet expired and that
       * [match][Cookie.matches] [url].
       */
      fun loadForRequest(url: HttpUrl): List<Cookie>
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

     * that is currently executing does not impact the ongoing run, but it does prevent a recurrence
     * from being scheduled.
     *
     * Tasks may opt-out of cancellation with `cancelable = false`. Such tasks will recur until they
     * decide not to by returning -1L.
     *
     * Task Queues
     * -----------
     *
     * Tasks are bound to the [TaskQueue] they are scheduled in. Each queue is sequential and the tasks
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        internal var throttlePeriodNanos: Long
    
        var socketPolicy: SocketPolicy
    
        internal var bodyDelayNanos: Long
    
        internal var headersDelayNanos: Long
    
        /** The streams the server will push with this response. */
        val pushPromises: MutableList<PushPromise>
    
        val settings: Settings
    
        constructor() {
          this.inTunnel = false
          this.informationalResponses = mutableListOf()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  6. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

    /**
     * Runs MockWebServer for the duration of a single test method.
     *
     * Specifically while junit instances passes into test constructor
     * are typically shares amongst all tests, a fresh instance will be
     * received here. Use with @BeforeAll and @AfterAll, is not supported.
     *
     * There are 3 ids for instances
     * - The test instance default (passed into constructor)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 11 12:12:36 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/TestTls13Request.kt

        CipherSuite.TLS_AES_256_GCM_SHA384,
        CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
        CipherSuite.TLS_AES_128_CCM_SHA256,
        CipherSuite.TLS_AES_128_CCM_8_SHA256,
      )
    
    /**
     * A TLS 1.3 only Connection Spec. This will be eventually be exposed
     * as part of MODERN_TLS or folded into the default OkHttp client once published and
     * available in JDK11 or Conscrypt.
     */
    private val TLS_13 =
      ConnectionSpec.Builder(true)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       */
      val sequenceNumber: Int,
      socket: Socket,
      /**
       * The failure MockWebServer recorded when attempting to decode this request. If, for example,
       * the inbound request was truncated, this exception will be non-null.
       */
      val failure: IOException? = null,
    ) {
      val method: String?
      val path: String?
    
      /**
       * The TLS handshake of the connection that carried this request, or null if the request was
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  9. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

        val acceptedIssuers = handshakeCertificates.trustManager.acceptedIssuers
        val names =
          acceptedIssuers
            .map { it.subjectDN.name }
            .toSet()
    
        // It's safe to assume all platforms will have a major Internet certificate issuer.
        assertThat(names).matchesPredicate { strings ->
          strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) }
        }
      }
    
      private fun startTlsServer(): InetSocketAddress {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

    ) : ExchangeFinder {
      private val connectDelayNanos = TimeUnit.MILLISECONDS.toNanos(250L)
      private var nextTcpConnectAtNanos = Long.MIN_VALUE
    
      /**
       * Plans currently being connected, and that will later be added to [connectResults]. This is
       * mutated by the call thread only. If is accessed by background connect threads.
       */
      private val tcpConnectsInFlight = CopyOnWriteArrayList<Plan>()
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top