HostingVersionConfigHeader

data class HostingVersionConfigHeader(val glob: String? = null, val headers: Map<String, String>, val regex: String? = null)

Constructors

Link copied to clipboard
constructor(glob: String? = null, headers: Map<String, String>, regex: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val glob: String? = null

The user-supplied glob to match against the request URL path.

Link copied to clipboard

The additional headers to add to the response. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Link copied to clipboard
val regex: String? = null

The user-supplied RE2 regular expression to match against the request URL path.