- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 214 for sohbet (0.04 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
/** * A non-blocking interface to a web socket. Use the [factory][WebSocket.Factory] to create * instances; usually this is [OkHttpClient]. * * ## Web Socket Lifecycle * * Upon normal operation each web socket progresses through a sequence of states: * * * **Connecting:** the initial state of each web socket. Messages may be enqueued but they won't * be transmitted until the web socket is open. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
@Test fun testIPv4() { val socket = MockWebServerSocket( FakeSocket( localAddress = InetAddress.getByAddress("127.0.0.1", byteArrayOf(127, 0, 0, 1)), localPort = 80, ), ) val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket) assertThat(request.url.toString()).isEqualTo("http://127.0.0.1/")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 5.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
private var taskQueue = taskRunner.newQueue() /** Names this web socket for observability and debugging. */ private var name: String? = null /** The socket that carries this web socket. This is canceled when the web socket fails. */ private var socket: Socket? = null /** Outgoing pongs in the order they should be written. */ private val pongQueue = ArrayDeque<ByteString>()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
override fun checkServerTrusted( chain: Array<out X509Certificate>, authType: String, socket: Socket, ) { if (socket.peerName() !in insecureHosts) { delegate.checkServerTrusted(chain, authType, socket) } } override fun checkServerTrusted( chain: Array<out X509Certificate>, authType: String, engine: SSLEngine, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
if (localAddr != null) { socket.bind(new InetSocketAddress(localAddr, localPort)); } socket.connect(new InetSocketAddress(address.getHostAddress(), port), CONN_TIMEOUT); socket.setSoTimeout(SO_TIMEOUT); out = socket.getOutputStream(); in = socket.getInputStream(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
object : DelegatingSocketFactory(getDefault()) { @Throws(IOException::class) override fun configureSocket(socket: Socket): Socket { socket.setSendBufferSize(SOCKET_BUFFER_SIZE) socket.setReceiveBufferSize(SOCKET_BUFFER_SIZE) return socket } }, ).build() } @AfterEach fun tearDown() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java
} @Override public Socket createSocket(String host, int port) throws IOException { Socket result = createSocket(); try { result.connect(new InetSocketAddress(host, port)); } catch (IOException e) { result.close(); throw e; } return result; } @Override public Socket createSocket(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Dec 03 21:33:52 GMT 2023 - 2.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt
val serverSocket = ServerSocket(0, 1, localhost) val socket = Socket() socket.connect(serverSocket.localSocketAddress) val socketSource = socket.source().buffer() assertThat(socket.isHealthy(socketSource)).isTrue() serverSocket.close() assertThat(socket.isHealthy(socketSource)).isFalse() } @Test fun testDurationTimeUnit() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
} override fun handle(socket: Socket) { val task = serviceSocketTask(socket.asBufferedSocket()) results.add(task) task.run() } /** Returns a task that processes both request and response from [socket]. */ private fun serviceSocketTask(socket: BufferedSocket): FutureTask<Void> { return FutureTask<Void> { socket.source.use { socket.sink.use { while (true) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
import java.net.InetAddress; import java.net.Socket; import jcifs.smb1.Config; import jcifs.smb1.util.LogStream; /** Do not use this class. Writing to the OutputStream of this type of socket requires leaving a 4 byte prefix for the NBT header. IOW you must call write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error. */ public class NbtSocket extends Socket {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0)