Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for Kistner (0.16 sec)

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

              client -> "$okHttpName $peerName"
              else -> "MockWebServer $peerName"
            }
          this.source = source
          this.sink = sink
        }
    
        fun listener(listener: Listener) =
          apply {
            this.listener = listener
          }
    
        fun pushObserver(pushObserver: PushObserver) =
          apply {
            this.pushObserver = pushObserver
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        return delegate!!.session
      }
    
      override fun addHandshakeCompletedListener(listener: HandshakeCompletedListener) {
        delegate!!.addHandshakeCompletedListener(listener)
      }
    
      override fun removeHandshakeCompletedListener(listener: HandshakeCompletedListener) {
        delegate!!.removeHandshakeCompletedListener(listener)
      }
    
      @Throws(IOException::class)
      override fun startHandshake() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      @Synchronized fun receivedPongCount(): Int = receivedPongCount
    
      @Throws(IOException::class)
      override fun onReadMessage(text: String) {
        listener.onMessage(this, text)
      }
    
      @Throws(IOException::class)
      override fun onReadMessage(bytes: ByteString) {
        listener.onMessage(this, bytes)
      }
    
      @Synchronized override fun onReadPing(payload: ByteString) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

        val response =
          Response.Builder().request(request).code(200).message("").protocol(Protocol.HTTP_2)
            .build()
        val listener = loggingEventListenerFactory.create(call)
        listener.cacheConditionalHit(call, response)
        listener.cacheHit(call, response)
        listener.cacheMiss(call)
        listener.satisfactionFailure(call, response)
        logRecorder
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/WebSocketListener.kt

       */
      open fun onClosed(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
      }
    
      /**
       * Invoked when a web socket has been closed due to an error reading from or writing to the
       * network. Both outgoing and incoming messages may have been lost. No further calls to this
       * listener will be made.
       */
      open fun onFailure(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

    /**
     * An OkHttp EventListener, which logs call events. Can be applied as an
     * [event listener factory][OkHttpClient.eventListenerFactory].
     *
     * The format of the logs created by this class should not be considered stable and may change
     * slightly between releases. If you need a stable logging format, use your own event listener.
     */
    class LoggingEventListener private constructor(
      private val logger: HttpLoggingInterceptor.Logger,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        apply {
          this.settings = settings
        }
    
      fun withWebSocketUpgrade(listener: WebSocketListener) =
        apply {
          status = "HTTP/1.1 101 Switching Protocols"
          setHeader("Connection", "Upgrade")
          setHeader("Upgrade", "websocket")
          body = null
          webSocketListener = listener
        }
    
      override fun toString(): String = status
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      /** Uses [request] to connect a new web socket. */
      override fun newWebSocket(
        request: Request,
        listener: WebSocketListener,
      ): WebSocket {
        val webSocket =
          RealWebSocket(
            taskRunner = taskRunner,
            originalRequest = request,
            listener = listener,
            random = Random(),
            pingIntervalMillis = pingIntervalMillis.toLong(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      /**
       * Returns an OkHttpClient for tests to use as a starting point.
       *
       * The returned client installs a default event listener that gathers debug information. This will
       * be logged if the test fails.
       *
       * This client is also configured to be slightly more deterministic, returning a single IP
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      /**
       * Value for [B1_MASK_LENGTH] which indicates the next eight bytes are the unsigned
       * length.
       */
      internal const val PAYLOAD_LONG = 127
    
      /** Used when an unchecked exception was thrown in a listener. */
      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
      fun toggleMask(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top