Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 317 for rocket (0.37 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

        client
          .newCall(request)
          .execute()
          .use { response ->
            assertThat(response.code).isEqualTo(HTTP_SWITCHING_PROTOCOLS)
            val socket = response.socket!!
            socket.sink.buffer().use { sink ->
              socket.source.buffer().use { source ->
                sink.writeUtf8("client says hello\n")
                sink.flush()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 08 21:07:01 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
          } catch (e: IOException) {
            logger.log(Level.WARNING, "$threadName failed unexpectedly", e)
          } finally {
            for (socket in openSockets) {
              socket.closeQuietly()
            }
            Thread.currentThread().name = "SocksProxy"
          }
        }
      }
    
      fun proxy(): Proxy =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

      ): RealConnection {
        val result =
          RealConnection.newTestConnection(
            taskRunner = taskRunner,
            connectionPool = pool,
            route = route,
            socket = Socket(),
            idleAtNs = idleAtNanos,
          )
        result.withLock { pool.put(result) }
        return result
      }
    
      fun newConnectionPool(
        taskRunner: TaskRunner = this.taskRunner,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

          }
        }
    
        val result = timeoutExit(e)
        if (e != null) {
          eventListener.callFailed(this, result!!)
        } else {
          eventListener.callEnd(this)
        }
        return result
      }
    
      /**
       * Remove this call from the connection's list of allocations. Returns a socket that the caller
       * should close.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  5. 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"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Click Count (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

    import okio.Sink
    
    /**
     * A sink that sleeps [periodDelayNanos] every [bytesPerPeriod] bytes. Unlike [okio.Throttler],
     * this permits any interval to be used.
     */
    internal class ThrottledSink(
      private val socket: MockWebServerSocket,
      private val delegate: Sink,
      private val bytesPerPeriod: Long,
      private val periodDelayNanos: Long,
    ) : Sink by delegate {
      private var bytesWrittenSinceLastDelay = 0L
    
      override fun write(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

        result = 31 * result + proxy.hashCode()
        result = 31 * result + socketAddress.hashCode()
        return result
      }
    
      /**
       * Returns a string with the URL hostname, socket IP address, and socket port, like one of these:
       *
       *  * `example.com:80 at 1.2.3.4:8888`
       *  * `example.com:443 via proxy [::1]:8888`
       *
       * This omits duplicate information when possible.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/BufferedSocket.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.net.Socket as JavaNetSocket
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.Socket as OkioSocket
    import okio.asOkioSocket
    import okio.buffer
    
    interface BufferedSocket : OkioSocket {
      override val source: BufferedSource
      override val sink: BufferedSink
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

      fun upgradeToSocket(): Socket {
        call.upgradeToSocket()
        (codec.carrier as RealConnection).useAsSocket()
    
        return object : Socket {
          override fun cancel() {
            ******@****.***()
          }
    
          override val sink =
            RequestBodySink(
              delegate = codec.socket.sink,
              contentLength = -1L,
              isSocket = true,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

                      }
                    }.build(),
                ),
              )
            }
          }.addNetworkInterceptor {
            val socket = it.connection()!!.socket() as SSLSocket
    
            handshakeEnabledCipherSuites = socket.enabledCipherSuites.toList()
    
            it.proceed(it.request())
          }.build()
    
      private fun makeRequest(client: OkHttpClient): Handshake {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Sep 16 07:21:43 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top