Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for peekc (0.01 sec)

  1. okhttp/api/jvm/okhttp.api

    	public static final field EMPTY Lokhttp3/TrailersSource;
    	public abstract fun get ()Lokhttp3/Headers;
    	public fun peek ()Lokhttp3/Headers;
    }
    
    public final class okhttp3/TrailersSource$Companion {
    }
    
    public final class okhttp3/TrailersSource$DefaultImpls {
    	public static fun peek (Lokhttp3/TrailersSource;)Lokhttp3/Headers;
    }
    
    public abstract interface class okhttp3/WebSocket {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

                } catch (e: IOException) {
                  throw RuntimeException(e)
                }
              }
              return result
            }
    
            override fun peek(): MockResponse = queueDispatcher.peek()
    
            override fun close() {
              queueDispatcher.close()
            }
          }
        client =
          client
            .newBuilder()
            .proxy(server.proxyAddress)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  3. CHANGELOG.md

    ## Version 5.1.0
    
    _2025-07-07_
    
     *  New: `Response.peekTrailers()`. When we changed `Response.trailers()` to block instead of
        throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers
        (by catching the `IllegalStateException` if they weren't available). This new API restores that
        capability.
    
     *  Fix: Don't crash on `trailers()` if the response doesn't have a body. We broke [Retrofit] users
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  4. okhttp/api/android/okhttp.api

    	public static final field EMPTY Lokhttp3/TrailersSource;
    	public abstract fun get ()Lokhttp3/Headers;
    	public fun peek ()Lokhttp3/Headers;
    }
    
    public final class okhttp3/TrailersSource$Companion {
    }
    
    public final class okhttp3/TrailersSource$DefaultImpls {
    	public static fun peek (Lokhttp3/TrailersSource;)Lokhttp3/Headers;
    }
    
    public abstract interface class okhttp3/WebSocket {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val requestFinished = CountDownLatch(2)
        val dispatcher: QueueDispatcher =
          object : QueueDispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              if (peek().onResponseStart is CloseSocket) {
                requestFinished.await()
              }
              return super.dispatch(request)
            }
          }
        dispatcher.enqueue(MockResponse(body = "seed connection pool"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top