- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,032 for Socket (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
val responseA = client.newCall(requestA).execute() assertThat(responseA.body.string()).isEqualTo("a") assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) // Give the socket a chance to become stale. connection!!.idleAtNs -= IDLE_CONNECTION_HEALTHY_NS Thread.sleep(250) val requestB = Request( url = server.url("/"),
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
val longString = repeat('a', Http2.INITIAL_MAX_FRAME_SIZE + 1) val socket = peer.openSocket() val connection = Http2Connection .Builder(true, TaskRunner.INSTANCE) .socket(socket.asBufferedSocket(), "peer") .pushObserver(IGNORE) .build() connection.start(sendConnectionPreface = false) socket.shutdownOutput() assertFailsWith<IOException> {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
} catch (e: InterruptedException) { 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) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
docs/en/data/translation_reviewers.yml
url: https://github.com/Ernilia socket-socket: login: socket-socket count: 10 avatarUrl: https://avatars.githubusercontent.com/u/121552599?u=104df6503242e8d762fe293e7036f7260f245d49&v=4 url: https://github.com/socket-socket nick-cjyx9: login: nick-cjyx9 count: 10
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 01 06:27:43 UTC 2025 - 65K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
import okio.BufferedSource import okio.Sink import okio.Socket import okio.Source import okio.Timeout /** A logical bidirectional stream. */ @Suppress("NAME_SHADOWING") class Http2Stream internal constructor( val id: Int, val connection: Http2Connection, outFinished: Boolean, inFinished: Boolean, headers: Headers?, ) : Lockable, Socket {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
} int octet = 0; for (int i = start; i < end; i++) { octet *= 10; int digit = Character.digit(ipString.charAt(i), 10); if (digit < 0) { throw new NumberFormatException(); } octet += digit; } if (octet > 255) { throw new NumberFormatException(); } return (byte) octet; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
README.md
efficiently makes your stuff load faster and saves bandwidth. OkHttp is an HTTP client that’s efficient by default: * HTTP/2 support allows all requests to the same host to share a socket. * Connection pooling reduces request latency (if HTTP/2 isn’t available). * Transparent GZIP shrinks download sizes. * Response caching avoids the network completely for repeat requests.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 9.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
logger.removeHandler(loggerHandler) } override fun connectionAcquired( call: Call, connection: Connection, ) { if (random != null) { val sslSocket = connection.socket() as SSLSocket val session = sslSocket.session val masterSecretHex = session.masterSecret ?.encoded ?.toByteString() ?.hex()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/internal/connection/RealCall;->releaseConnectionNoEvents$okhttp()Ljava/net/Socket; HSPLokhttp3/internal/connection/RealConnection;-><init>(Lokhttp3/internal/concurrent/TaskRunner;Lokhttp3/internal/connection/RealConnectionPool;Lokhttp3/Route;Ljava/net/Socket;Ljava/net/Socket;Lokhttp3/Handshake;Lokhttp3/Protocol;Lokio/BufferedSource;Lokio/BufferedSink;I)V
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (1) -
okhttp/api/android/okhttp.api
public abstract interface class okhttp3/Connection { public abstract fun handshake ()Lokhttp3/Handshake; public abstract fun protocol ()Lokhttp3/Protocol; public abstract fun route ()Lokhttp3/Route; public abstract fun socket ()Ljava/net/Socket; } public final class okhttp3/ConnectionPool { public fun <init> ()V public fun <init> (IJLjava/util/concurrent/TimeUnit;)V public final fun connectionCount ()I public final fun evictAll ()VRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.3K bytes - Viewed (0)