Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Grocevs (0.23 sec)

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

       */
      fun cancel()
    
      fun interface Factory {
        /**
         * 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,
    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. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
        fun onRetryChange(timeMs: Long)
      }
    
      /**
       * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
       * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while
       * processing an event.
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

     *  Fix: Immediately update the connection's flow control window instead of waiting for the
        receiving stream to process it.
    
        This change may increase OkHttp's memory use for applications that make many concurrent HTTP
        calls and that can receive data faster than they can process it. Previously, OkHttp limited
        HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB
    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)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       * Use this for EXPLICIT tag types:
       *
       * ```
       * [5] EXPLICIT UTF8String
       * ```
       *
       * @param forceConstructed non-null to set the constructed bit to the specified value, even if the
       *     writing process sets something else. This is used to encode SEQUENCES in values that are
       *     declared to have non-constructed values, like OCTET STRING values.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    logFile = File("/tmp/key.log"), tlsVersions = tlsVersions, launch = launch)`
     * 3. Register with `client.eventListenerFactory(eventListenerFactory)`
     * 4. Launch wireshark if not done externally `val process = eventListenerFactory.launchWireShark()`
     */
    @SuppressSignatureCheck
    class WireSharkListenerFactory(
      private val logFile: File,
      private val tlsVersions: List<TlsVersion>,
      private val launch: Launch? = null,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        fun onReadPing(payload: ByteString)
    
        fun onReadPong(payload: ByteString)
    
        fun onReadClose(
          code: Int,
          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
       *  * If it is a control frame this will result in a single call to [FrameCallback].
       *  * If it is a message frame this will result in a single call to [FrameCallback.onReadMessage].
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      private val bytesLeft: Long
        get() = if (limit == -1L) -1L else (limit - byteCount)
    
      fun hasNext(): Boolean = peekHeader() != null
    
      /**
       * Returns the next header to process unless this scope is exhausted.
       *
       * This returns null if:
       *
       *  * The stream is exhausted.
       *  * We've read all of the bytes of an object whose length is known.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        // be deleted when those files are closed.
        if (!civilizedFileSystem) {
          if (entry.lockingSourceCount > 0) {
            // Mark this entry as 'DIRTY' so that if the process crashes this entry won't be used.
            journalWriter?.let {
              it.writeUtf8(DIRTY)
              it.writeByte(' '.code)
              it.writeUtf8(entry.key)
              it.writeByte('\n'.code)
              it.flush()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

     *    from the peer.
     *
     * Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer
     * chooses to short-circuit the graceful shutdown process:
     *
     *  * **Canceled:** the web socket connection failed. Messages that were successfully enqueued by
     *    either peer may not have been transmitted to the other.
     *
    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)
  10. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        assertThat(decoded).isEqualTo(date("2050-01-01T00:00:00.000+0000").time)
        assertThat(encoded).isEqualTo(generalizedTimeDer)
      }
    
      /**
       * Conforming applications MUST be able to process validity dates that are encoded in either
       * UTCTime or GeneralizedTime.
       */
      @Test fun `can read GENERALIZED_TIME before 2050`() {
        val generalizedTimeDer = "180f32303439313233313233353935395a".decodeHex()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
Back to top