Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NO_ERROR (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * Closes this connection. This cancels all open streams and unanswered pings. It closes the
       * underlying input and output streams and shuts down internal task queues.
       */
      override fun close() {
        close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null)
      }
    
      internal fun close(
        connectionCode: ErrorCode,
        streamCode: ErrorCode,
        cause: IOException?,
      ) {
        this.assertThreadDoesntHoldLock()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                "and responded: $response protocol is $protocol",
            )
          }
    
          when (socketPolicy) {
            DisconnectAtEnd -> {
              stream.connection.shutdown(ErrorCode.NO_ERROR)
            }
            is DoNotReadRequestBody -> {
              stream.close(ErrorCode.fromHttp2(socketPolicy.http2ErrorCode)!!, null)
            }
            else -> {
            }
          }
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top