Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NO_ERROR (0.25 sec)

  1. okhttp/src/commonJvmAndroid/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?,
      ) {
        assertLockNotHeld()
    
        ignoreIoExceptions {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            } else {
              socket.close()
            }
          }
    
          ShutdownConnection -> {
            if (stream != null) {
              stream.connection.shutdown(ErrorCode.NO_ERROR)
            } else {
              socket.close()
            }
          }
    
          is CloseSocket -> {
            if (effect.shutdownInput) socket.shutdownInput()
            if (effect.shutdownOutput) socket.shutdownOutput()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         * close the socket after the response body or trailers.
         */
        public fun doNotReadRequestBody(): Builder =
          apply {
            doNotReadRequestBody = true
            onResponseEnd = CloseStream(ErrorCode.NO_ERROR.httpCode)
          }
    
        /** Trigger [socketEffect] while reading the request body. */
        public fun onRequestBody(socketEffect: SocketEffect?): Builder =
          apply {
            this.onRequestBody = socketEffect
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top