Module Values.HttpSource

Information about an HTTP request.

Sourcetype nonrec t = {
  1. httpURL : String_.t option;
    (*

    The request URL.

    *)
  2. httpStatus : NullableInteger.t option;
    (*

    The response status.

    *)
  3. httpMethod : String_.t option;
    (*

    The request method.

    *)
  4. userAgent : String_.t option;
    (*

    The request's user agent string.

    *)
  5. clientIp : String_.t option;
    (*

    The IP address of the requestor.

    *)
}
Sourceval make : ?httpURL:??? -> ?httpStatus:??? -> ?httpMethod:??? -> ?userAgent:??? -> ?clientIp:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of NullableInteger.t | `String of String_.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