Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Notifier (0.18 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
          request: Request,
          listener: EventSourceListener,
        ): EventSource
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

        scheduling. In your debugger you will see new thread names and more use of daemon threads.
    
     *  Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked
        exception the callback is now notified that the call was canceled. The exception is still sent
        to the uncaught exception handler for reporting and recovery.
    
     *  Fix: Un-deprecate `MockResponse.setHeaders()` and other setters. These were deprecated in OkHttp
    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)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * assume that connectivity has been lost. When this happens on a web socket the connection is
         * canceled and its listener is [notified][WebSocketListener.onFailure]. When it happens on an
         * HTTP/2 connection the connection is closed and any calls it is carrying
         * [will fail with an IOException][java.io.IOException].
         *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      /** The close reason from the peer, or null if this web socket has not yet read a close frame. */
      private var receivedCloseReason: String? = null
    
      /** True if this web socket failed and the listener has been notified. */
      private var failed = false
    
      /** Total number of pings sent by this web socket. */
      private var sentPingCount = 0
    
      /** Total number of pings received by this web socket. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

       * dependency on those interfaces.
       */
      private class AlpnProvider(
        /** This peer's supported protocols. */
        private val protocols: List<String>,
      ) : InvocationHandler {
        /** Set when remote peer notifies ALPN is unsupported. */
        var unsupported: Boolean = false
    
        /** The protocol the server selected. */
        var selected: String? = null
    
        @Throws(Throwable::class)
        override fun invoke(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      private val writerQueue = taskRunner.newQueue()
    
      /** Ensures push promise callbacks events are sent in order per stream. */
      private val pushQueue = taskRunner.newQueue()
    
      /** Notifies the listener of settings changes. */
      private val settingsListenerQueue = taskRunner.newQueue()
    
      /** User code to run in response to push promise events. */
      private val pushObserver: PushObserver = builder.pushObserver
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              nanos: Long,
            ) {
              taskRunner.assertThreadHoldsLock()
              check(waitingCoordinatorTask == null)
              if (nanos == 0L) return
    
              // Yield until notified, interrupted, or the duration elapses.
              val waitUntil = nanoTime + nanos
              val self = currentTask
              waitingCoordinatorTask = self
              waitingCoordinatorNotified = false
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         */
        fun goAway(
          lastGoodStreamId: Int,
          errorCode: ErrorCode,
          debugData: ByteString,
        )
    
        /**
         * Notifies that an additional `windowSizeIncrement` bytes can be sent on `streamId`, or the
         * connection if `streamId` is zero.
         */
        fun windowUpdate(
          streamId: Int,
          windowSizeIncrement: Long,
        )
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    02B6          ; mapped                 ; 0281          # 1.1  MODIFIER LETTER SMALL CAPITAL INVERTED R
    02B7          ; mapped                 ; 0077          # 1.1  MODIFIER LETTER SMALL W
    02B8          ; mapped                 ; 0079          # 1.1  MODIFIER LETTER SMALL Y
    02B9..02C1    ; valid                                  # 1.1  MODIFIER LETTER PRIME..MODIFIER LETTER REVERSED GLOTTAL STOP
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  10. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

        /**
         * Creates a new web socket and immediately returns it. Creating a web socket initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must either close or cancel the returned web socket when it is no longer
         * in use.
         */
        fun newWebSocket(
          request: Request,
          listener: WebSocketListener,
        ): WebSocket
      }
    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)
Back to top