Module Values.SingleHeaderSource

Inspect one of the headers in the web request, identified by name, for example, User-Agent or Referer. The name isn't case sensitive. You can filter and inspect all headers with the FieldToMatch setting Headers. This is used to indicate the web request component to inspect, in the FieldToMatch specification. Example JSON: "SingleHeader": { "Name": "haystack" }

Sourcetype nonrec t = {
  1. name : FieldToMatchData.t;
    (*

    The name of the query header to inspect.

    *)
}
Sourceval context_ : string
Sourceval make : name:FieldToMatchData.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of FieldToMatchData.t ]) 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