Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Trailers (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
        peer.sendFrame().headers(false, 3, headerEntries("headers", "bam"))
        peer.acceptFrame() // PING
        peer.sendFrame().headers(true, 3, headerEntries("trailers", "boom"))
        peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0) // PONG
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  2. okhttp/api/jvm/okhttp.api

    	public final fun request ()Lokhttp3/Request;
    	public final fun sentRequestAtMillis ()J
    	public final fun socket ()Lokio/Socket;
    	public fun toString ()Ljava/lang/String;
    	public final fun trailers ()Lokhttp3/Headers;
    }
    
    public class okhttp3/Response$Builder {
    	public fun <init> ()V
    	public fun addHeader (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Response$Builder;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        ```
        OkHttpClient client = new OkHttpClient.Builder()
            .connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))
            .build();
        ```
    
     *  New: You can now access HTTP trailers with `Response.trailers()`. This method may only be called
        after the entire HTTP response body has been read.
    
     *  New: Upgrade to Okio 1.17.3. If you're on Kotlin-friendly Okio 2.x this release requires 2.2.2
        or newer.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/api/android/okhttp.api

    	public final fun request ()Lokhttp3/Request;
    	public final fun sentRequestAtMillis ()J
    	public final fun socket ()Lokio/Socket;
    	public fun toString ()Ljava/lang/String;
    	public final fun trailers ()Lokhttp3/Headers;
    }
    
    public class okhttp3/Response$Builder {
    	public fun <init> ()V
    	public fun addHeader (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Response$Builder;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top