Module Http.Scheme

HTTP schemes.

type t = [
  1. | `Http
  2. | `Https
]

The type for HTTP URI schemes.

val tcp_port : t -> int

tcp_port s is 80 for `Http and 443 for `Https.