DefaultResponsePushBuilder

class DefaultResponsePushBuilder : ResponsePushBuilder

HTTP/2 push builder

Constructors

<init>

DefaultResponsePushBuilder(url: URLBuilder, headers: Headers)
DefaultResponsePushBuilder(call: ApplicationCall)
DefaultResponsePushBuilder(
    method: HttpMethod = HttpMethod.Get,
    url: URLBuilder = URLBuilder(),
    headers: HeadersBuilder = HeadersBuilder(),
    versions: List<Version> = emptyList())

HTTP/2 push builder

Properties

headers

val headers: HeadersBuilder

builder

method

var method: HttpMethod

HTTP method

url

val url: URLBuilder

builder

versions

var versions: ArrayList<Version>

List of version information (for conditional headers)