Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for enqueuedClose (0.69 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          require(reasonBytes.size <= CLOSE_MESSAGE_MAX) {
            "reason.size() > $CLOSE_MESSAGE_MAX: $reason"
          }
        }
    
        if (failed || enqueuedClose) return false
    
        // Immediately prevent further frames from being enqueued.
        enqueuedClose = true
    
        // Enqueue the close frame.
        messageAndCloseQueue.add(Close(code, reasonBytes, cancelAfterCloseMillis))
        runWriter()
        return true
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top