HttpRouteHeaderModifierResponse

data class HttpRouteHeaderModifierResponse(val add: Map<String, String>, val remove: List<String>, val set: Map<String, String>)

The specification for modifying HTTP header in HTTP request and HTTP response.

Constructors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Add the headers with given map where key is the name of the header, value is the value of the header.

Link copied to clipboard

Remove headers (matching by header names) specified in the list.

Link copied to clipboard

Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.