Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 162 for socketio (0.19 sec)

  1. docs/features/connections.md

    `github.com`) and all of the **static** configuration necessary to connect to that server: the port number, HTTPS settings, and preferred network protocols (like HTTP/2).
    
    URLs that share the same address may also share the same underlying TCP socket connection. Sharing a connection has substantial performance benefits: lower latency, higher throughput (due to [TCP slow start](https://www.igvita.com/2011/10/20/faster-web-vs-tcp-slow-start/)) and conserved battery. OkHttp uses a [ConnectionPoo...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

       * this address.
       *
       * If [planToReplace] is non-null, this will swap it for a pooled connection if that pooled
       * connection uses HTTP/2. That results in fewer sockets overall and thus fewer TCP slow starts.
       */
      internal fun planReusePooledConnection(
        planToReplace: ConnectPlan? = null,
        routes: List<Route>? = null,
      ): ReusePlan? {
        val result =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

    import assertk.assertions.hasSize
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.net.Inet4Address
    import java.net.Inet6Address
    import java.net.InetAddress
    import java.net.Socket
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import javax.net.SocketFactory
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        println("Proxy Server 1 is ${server1.inetSocketAddress}")
        println("Proxy Server 2 is ${server2.inetSocketAddress}")
    
        // Since myproxy:8008 won't resolve, redirect with DNS to proxyServer1
        // Then redirect socket connection to server1
        dns["myproxy"] = listOf(proxyServer1)
        socketFactory[proxyServer1] = server1.inetSocketAddress
    
        client = client.newBuilder().proxySelector(proxySelector).build()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

    import org.mockserver.configuration.Configuration
    import org.mockserver.logging.MockServerLogger
    import org.mockserver.model.HttpRequest.request
    import org.mockserver.model.HttpResponse.response
    import org.mockserver.socket.tls.KeyStoreFactory
    import org.testcontainers.containers.MockServerContainer
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. kotlin-js-store/yarn.lock

      integrity sha512-V4GrkLy+HeF1F/en3SpUaM+7XxYXpuMUWLGde1kSSh5nQMN4hLrbPIkD+otwh6q9R6NOQBN4AMaOZ2zVjui82g==
      dependencies:
        "@socket.io/component-emitter" "~3.1.0"
        debug "~4.3.1"
    
    socket.io@^4.4.1:
      version "4.5.4"
      resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-4.5.4.tgz#a4513f06e87451c17013b8d13fdfaf8da5a86a90"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.Socket
    import java.net.URI
    import java.net.URL
    import java.nio.charset.Charset
    import java.security.KeyPair
    import java.security.Principal
    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. mockwebserver/api/mockwebserver3.api

    }
    
    public final class mockwebserver3/RecordedRequest {
    	public fun <init> (Ljava/lang/String;Lokhttp3/Headers;Ljava/util/List;JLokio/Buffer;ILjava/net/Socket;Ljava/io/IOException;)V
    	public synthetic fun <init> (Ljava/lang/String;Lokhttp3/Headers;Ljava/util/List;JLokio/Buffer;ILjava/net/Socket;Ljava/io/IOException;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public final fun getBody ()Lokio/Buffer;
    	public final fun getBodySize ()J
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 03 21:59:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. CHANGELOG.md

     *  Fix: Don't close a `Deflater` while we're still using it to compress a web socket message. We
        had a severe bug where web sockets were closed on the wrong thread, which caused
        `NullPointerException` crashes in `Deflater`.
    
     *  Fix: Don't crash after a web socket fails its connection upgrade. We incorrectly released
        the web socket's connections back to the pool before their resources were cleaned up.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

              throw InterruptedIOException()
            }
          }
        }
      }
    
      companion object {
        /** A large response body. Smaller bodies might successfully read after the socket is closed!  */
        private val BIG_ENOUGH_BODY = repeat('a', 64 * 1024)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top