HttpHeaderOptionResponse

data class HttpHeaderOptionResponse(val headerName: String, val headerValue: String, val replace: Boolean)

Specification determining how headers are added to requests or responses.

Constructors

Link copied to clipboard
fun HttpHeaderOptionResponse(headerName: String, headerValue: String, replace: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the header.

Link copied to clipboard

The value of the header to add.

Link copied to clipboard

If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.