.. _envoy_v3_api_file_envoy/type/http/v3/cookie.proto: Http cookie API (proto) ======================= .. _envoy_v3_api_msg_type.http.v3.Cookie: type.http.v3.Cookie ------------------- :repo:`[type.http.v3.Cookie proto] ` Cookie defines an API for obtaining or generating HTTP cookie. .. code-block:: json :force: { "name": ..., "ttl": {...}, "path": ... } .. _envoy_v3_api_field_type.http.v3.Cookie.name: name (`string `_, *REQUIRED*) The name that will be used to obtain cookie value from downstream HTTP request or generate new cookie for downstream. .. _envoy_v3_api_field_type.http.v3.Cookie.ttl: ttl (`Duration `_) Duration of cookie. This will be used to set the expiry time of a new cookie when it is generated. Set this to 0 to use a session cookie. .. _envoy_v3_api_field_type.http.v3.Cookie.path: path (`string `_) Path of cookie. This will be used to set the path of a new cookie when it is generated. If no path is specified here, no path will be set for the cookie.