DefaultResponsePushBuilder

class DefaultResponsePushBuilder(var method: HttpMethod = HttpMethod.Get, val url: URLBuilder = URLBuilder(), val headers: HeadersBuilder = HeadersBuilder(), versions: List<Version> = emptyList()) : ResponsePushBuilder

An HTTP/2 push builder.

Constructors

Link copied to clipboard
constructor(url: URLBuilder, headers: Headers)
constructor(call: ApplicationCall)
constructor(method: HttpMethod = HttpMethod.Get, url: URLBuilder = URLBuilder(), headers: HeadersBuilder = HeadersBuilder(), versions: List<Version> = emptyList())

Properties

Link copied to clipboard
open override val headers: HeadersBuilder

builder

Link copied to clipboard
open override var method: HttpMethod

HTTP method

Link copied to clipboard
open override val url: URLBuilder

builder

Link copied to clipboard
open override var versions: ArrayList<Version>

A list of version information (for conditional headers).