package mehari

  1. Overview
  2. Docs
type request_err =
  1. | AboveMaxSize
  2. | BeginWithBOM
  3. | EmptyURL
  4. | InvalidURL
  5. | MalformedUTF8
  6. | MissingHost
  7. | MissingScheme
  8. | RelativePath
  9. | SNIExtRequired
  10. | UserInfoNotAllowed
  11. | WrongHost
  12. | WrongPort
  13. | WrongScheme
val make_request : (module ADDR with type t = 'a) -> port:int -> addr:'a -> verify_url_host:bool -> Tls.Core.epoch_data -> string -> ('a request, request_err) Stdlib.result
val to_response : request_err -> response
OCaml

Innovation. Community. Security.