Module Dns.Https

Https binding and parameter specification record

A Https record (HTTPS) specifies a target, its priority, weight and port.

type svc_param =
  1. | Mandatory of int list
  2. | Alpn of string list
  3. | No_default_alpn
  4. | Port of int
  5. | Ipv4_hint of Ipaddr.V4.t list
  6. | Ipv6_hint of Ipaddr.V6.t list
  7. | Key of int * string
type t = {
  1. svc_priority : int;
  2. target_name : [ `host ] Domain_name.t;
  3. svc_params : svc_param list;
}

The type for a service binding and parameter specification record.

val pp : t Fmt.t

pp ppf t pretty-prints the service binding and parameter specification record.

val compare : t -> t -> int

compare a b compares the service binding and parameter specificationrecord a with b.