Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Seamon (0.2 sec)

  1. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              webSocket: WebSocket,
              text: String,
            ) {
              webSocket.send(text)
            }
    
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          OPCODE_CONTROL_CLOSE -> {
            var code = CLOSE_NO_STATUS_CODE
            var reason = ""
            val bufferSize = controlFrameBuffer.size
            if (bufferSize == 1L) {
              throw ProtocolException("Malformed close payload length of 1.")
            } else if (bufferSize != 0L) {
              code = controlFrameBuffer.readShort().toInt()
              reason = controlFrameBuffer.readUtf8()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

      private var originalSystemErr: PrintStream? = null
      private var originalSystemOut: PrintStream? = null
      private var testCount = 0
    
      override fun executionSkipped(
        testIdentifier: TestIdentifier,
        reason: String,
      ) {
        printStatus("-")
      }
    
      private fun printStatus(s: String) {
        if (++testCount % 80 == 0) {
          printStatus("\n")
        }
        originalSystemErr?.print(s)
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      internal val writeTimeout = StreamTimeout()
    
      /**
       * The reason why this stream was closed, or null if it closed normally or has not yet been
       * closed.
       *
       * If there are multiple reasons to abnormally close this stream (such as both peers closing it
       * near-simultaneously) then this is the first reason known to this peer.
       */
      internal var errorCode: ErrorCode? = null
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          const val JDK8_PROPERTY = "jdk8"
          const val OPENJSSE_PROPERTY = "openjsse"
          const val BOUNCYCASTLE_PROPERTY = "bouncycastle"
          const val LOOM_PROPERTY = "loom"
    
          /**
           * For whatever reason our BouncyCastle provider doesn't work with ECDSA keys. Just configure it
           * to use RSA-2048 instead.
           *
           * (We otherwise prefer ECDSA because it's faster.)
           */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

     * in sequence.
     */
    @ExperimentalOkHttpApi
    class MockWebServer : Closeable {
      private val taskRunnerBackend =
        TaskRunner.RealBackend(
          threadFactory("MockWebServer TaskRunner", daemon = false),
        )
      private val taskRunner = TaskRunner(taskRunnerBackend)
      private val requestQueue = LinkedBlockingQueue<RecordedRequest>()
      private val openClientSockets =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

     *  Fix: Don't crash when the URL hostname contains an underscore on Android.
     *  Fix: Change HTTP/2 to use a daemon thread for its socket reader. If you've ever seen a command
        line application hang after all of the work is done, it may be due to a non-daemon thread like
        this one.
     *  New: Include suppressed exceptions when all routes to a target service fail.
    
    
    ## Version 4.4.1
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      }
    
      /**
       * Send a close frame with optional code and reason.
       *
       * @param code Status code as defined by
       *     [Section 7.4 of RFC 6455](http://tools.ietf.org/html/rfc6455#section-7.4) or `0`.
       * @param reason Reason for shutting down or `null`.
       */
      @Throws(IOException::class)
      fun writeClose(
        code: Int,
        reason: ByteString?,
      ) {
        var payload = ByteString.EMPTY
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       *     [Section 7.4 of RFC 6455](http://tools.ietf.org/html/rfc6455#section-7.4).
       * @param reason Reason for shutting down, no longer than 123 bytes of UTF-8 encoded data (**not** characters) or null.
       * @throws IllegalArgumentException if [code] is invalid or [reason] is too long.
       */
      fun close(
        code: Int,
        reason: String?,
      ): Boolean
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. .github/workflows/build.yml

    on:
      push:
        branches:
          - master
      pull_request:
        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      publish:
        runs-on: ubuntu-latest
        if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
    
        steps:
          - name: Checkout
    Others
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 01:51:50 GMT 2024
    - 17.2K bytes
    - Viewed (0)
Back to top