add

@JvmName(name = "addCookie")
fun DslList<Context.Cookie, ContextKt.Dsl.CookieProxy>.add(value: Context.Cookie)
Specifies HTTP cookies to affix to the response associated with this context.

repeated .elide.page.Context.Cookie cookie = 8;

Parameters

value

The cookie to add.


Custom headers to affix to the response associated with this context.

repeated .elide.page.Context.ResponseHeader header = 9;

Parameters

value

The header to add.


@JvmName(name = "addVary")
fun DslList<String, ContextKt.Dsl.VaryProxy>.add(value: String)
Set of HTTP request headers which cause this response to vary.

repeated string vary = 10;

Parameters

value

The vary to add.


@JvmName(name = "addFeaturePolicy")
fun DslList<String, ContextKt.Dsl.FeaturePolicyProxy>.add(value: String)
Specifies feature policies for this HTTP cycle.

repeated string feature_policy = 13;

Parameters

value

The featurePolicy to add.


@JvmName(name = "addDnsPrefetch")
fun DslList<String, ContextKt.Dsl.DnsPrefetchProxy>.add(value: String)
Specifies hostnames to pre-load DNS records for.

repeated string dns_prefetch = 18;

Parameters

value

The dnsPrefetch to add.


@JvmName(name = "addPreconnect")
fun DslList<String, ContextKt.Dsl.PreconnectProxy>.add(value: String)
Specifies hostnames to pre-connect to.

repeated string preconnect = 19;

Parameters

value

The preconnect to add.