DefaultResponsePushBuilder

class DefaultResponsePushBuilder(method: HttpMethod, url: URLBuilder, headers: HeadersBuilder, versions: List<Version>) : ResponsePushBuilder

HTTP/2 push builder

Constructors

Link copied to clipboard
fun DefaultResponsePushBuilder(url: URLBuilder, headers: Headers)
Link copied to clipboard
fun DefaultResponsePushBuilder(call: ApplicationCall)
Link copied to clipboard
fun DefaultResponsePushBuilder(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>

List of version information (for conditional headers)