plusAssign
inline operator fun DslList<Context.Cookie, ContextKt.Dsl.CookieProxy>.plusAssign(value: Context.Cookie)
Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;
Parameters
value
The cookie to add.
inline operator fun DslList<Context.Cookie, ContextKt.Dsl.CookieProxy>.plusAssign(values: Iterable<Context.Cookie>)
Specifies HTTP cookies to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.Cookie cookie = 8;
Parameters
values
The cookie to add.
inline operator fun DslList<Context.ResponseHeader, ContextKt.Dsl.HeaderProxy>.plusAssign(value: Context.ResponseHeader)
Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;
Parameters
value
The header to add.
inline operator fun DslList<Context.ResponseHeader, ContextKt.Dsl.HeaderProxy>.plusAssign(values: Iterable<Context.ResponseHeader>)
Custom headers to affix to the response associated with this context.
Content copied to clipboard
repeated .elide.page.Context.ResponseHeader header = 9;
Parameters
values
The header to add.
Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;
Parameters
value
The vary to add.
Set of HTTP request headers which cause this response to vary.
Content copied to clipboard
repeated string vary = 10;
Parameters
values
The vary to add.
Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;
Parameters
value
The featurePolicy to add.
inline operator fun DslList<String, ContextKt.Dsl.FeaturePolicyProxy>.plusAssign(values: Iterable<String>)
Specifies feature policies for this HTTP cycle.
Content copied to clipboard
repeated string feature_policy = 13;
Parameters
values
The featurePolicy to add.
Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;
Parameters
value
The dnsPrefetch to add.
inline operator fun DslList<String, ContextKt.Dsl.DnsPrefetchProxy>.plusAssign(values: Iterable<String>)
Specifies hostnames to pre-load DNS records for.
Content copied to clipboard
repeated string dns_prefetch = 18;
Parameters
values
The dnsPrefetch to add.
Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;
Parameters
value
The preconnect to add.
inline operator fun DslList<String, ContextKt.Dsl.PreconnectProxy>.plusAssign(values: Iterable<String>)
Specifies hostnames to pre-connect to.
Content copied to clipboard
repeated string preconnect = 19;
Parameters
values
The preconnect to add.