Module Values.CookieMatchPatternSource

The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either All, IncludedCookies, or ExcludedCookies. Example JSON: "MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }

Sourcetype nonrec t = {
  1. all : All.t option;
    (*

    Inspect all cookies.

    *)
  2. includedCookies : CookieNames.t option;
    (*

    Inspect only the cookies that have a key that matches one of the strings specified here.

    *)
  3. excludedCookies : CookieNames.t option;
    (*

    Inspect only the cookies whose keys don't match any of the strings specified here.

    *)
}
Sourceval make : ?all:??? -> ?includedCookies:??? -> ?excludedCookies:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of SingleCookieName.t ] list | `Structure of 'a list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t