Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 734 for Connection (0.16 sec)

  1. internal/http/close.go

    		// Without this closing connection would disallow re-using
    		// the same connection for future uses.
    		//  - http://stackoverflow.com/a/17961593/4465767
    		defer respBody.Close()
    		xioutil.DiscardReader(respBody)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

            Protocol protocol, IOException ioe) {
          printEvent("connectFailed");
        }
    
        @Override public void connectionAcquired(Call call, Connection connection) {
          printEvent("connectionAcquired");
        }
    
        @Override public void connectionReleased(Call call, Connection connection) {
          printEvent("connectionReleased");
        }
    
        @Override public void requestHeadersStart(Call call) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Viewed (0)
  3. internal/http/server.go

    // Server - extended http.Server supports multiple addresses to serve and enhanced connection handling.
    type Server struct {
    	http.Server
    	Addrs           []string      // addresses on which the server listens for new connection.
    	TCPOptions      TCPOptions    // all the configurable TCP conn specific configurable options.
    	ShutdownTimeout time.Duration // timeout used for graceful server shutdown.
    	listenerMutex   sync.Mutex    // to guard 'listener' field.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *     sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
     *   at okhttp3.CertificatePinner.check(CertificatePinner.java)
     *   at okhttp3.Connection.upgradeToTls(Connection.java)
     *   at okhttp3.Connection.connect(Connection.java)
     *   at okhttp3.Connection.connectAndSetOwner(Connection.java)
     * ```
     *
     * Follow up by pasting the public key hashes from the exception into the
     * certificate pinner's configuration:
     *
     * ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  5. native-image-tests/src/main/resources/testlist.txt

    okhttp3.internal.concurrent.TaskLoggerTest
    okhttp3.internal.concurrent.TaskRunnerRealBackendTest
    okhttp3.internal.concurrent.TaskRunnerTest
    okhttp3.internal.connection.ConnectionPoolTest
    okhttp3.internal.connection.ConnectionSpecSelectorTest
    okhttp3.internal.connection.RouteExceptionTest
    okhttp3.internal.connection.RouteSelectorTest
    okhttp3.internal.http.CancelTest
    okhttp3.internal.http.HttpDateTest
    okhttp3.internal.http.StatusLineTest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu May 11 14:48:57 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        canceled = true
        stream?.closeLater(ErrorCode.CANCEL)
      }
    
      companion object {
        private const val CONNECTION = "connection"
        private const val HOST = "host"
        private const val KEEP_ALIVE = "keep-alive"
        private const val PROXY_CONNECTION = "proxy-connection"
        private const val TRANSFER_ENCODING = "transfer-encoding"
        private const val TE = "te"
        private const val ENCODING = "encoding"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/ReusePlan.kt

     */
    package okhttp3.internal.connection
    
    /** Reuse a connection from the pool. */
    internal class ReusePlan(
      val connection: RealConnection,
    ) : RoutePlanner.Plan {
      override val isReady = true
    
      override fun connectTcp() = error("already connected")
    
      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Viewed (0)
  8. docs/features/interceptors.md

    Content-Type: text/html
    Content-Length: 193
    Connection: keep-alive
    Location: https://publicobject.com/helloworld.txt
    
    INFO: Sending request https://publicobject.com/helloworld.txt on Connection{publicobject.com:443, proxy=DIRECT hostAddress=54.187.32.157 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1}
    User-Agent: OkHttp Example
    Host: publicobject.com
    Connection: Keep-Alive
    Accept-Encoding: gzip
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import okhttp3.Cache
    import okhttp3.Dispatcher
    import okhttp3.Response
    import okhttp3.internal.connection.Exchange
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okio.FileSystem
    import okio.Path
    
    internal fun buildCache(
      file: Path,
      maxSize: Long,
      fileSystem: FileSystem,
    ): Cache {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

      ) {
        logWithTime("connectFailed: $protocol $ioe")
      }
    
      override fun connectionAcquired(
        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionAcquired: $connection")
      }
    
      override fun connectionReleased(
        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionReleased")
      }
    
      override fun requestHeadersStart(call: Call) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top