GoogleApi.NetworkServices.V1.Model.HttpRouteHeaderModifier (google_api_network_services v0.11.0)

View Source

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

Attributes

  • add (type: map(), default: nil) - Add the headers with given map where key is the name of the header, value is the value of the header.
  • remove (type: list(String.t), default: nil) - Remove headers (matching by header names) specified in the list.
  • set (type: map(), default: nil) - Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.HttpRouteHeaderModifier{
  add: map() | nil,
  remove: [String.t()] | nil,
  set: map() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.