Module Smaws_Lib.Http

type http_failure =
  1. | NameLookupFailure
    (*

    DNS resolution failure - an IP address could not be resolved for the specified host *

    *)
  2. | NoSupportedProtocol
    (*

    The server has no supported HTTP protocol support (HTTP 1.1 or 2.0)

    *)
  3. | InvalidUri of Uri.t
    (*

    The specified URI was invalid for a HTTP request

    *)
  4. | MalformedResponse of string
  5. | InvalidResponseBodyLength
  6. | ProtocolError of string
  7. | HttpException of exn
val pp_http_failure : Stdlib.Format.formatter -> http_failure -> unit
val equal_http_failure : http_failure -> http_failure -> bool
type headers = (string * string) list
type input_body = [
  1. | `None
  2. | `String of string
  3. | `Form of (string * string list) list
]
val pp_input_body : Stdlib.Format.formatter -> input_body -> unit
val equal_input_body : input_body -> input_body -> bool
type method_ = [
  1. | `GET
  2. | `POST
  3. | `CONNECT
  4. | `DELETE
  5. | `HEAD
  6. | `OPTIONS
  7. | `Other of string
  8. | `PUT
  9. | `TRACE
]
val pp_method_ : Stdlib.Format.formatter -> method_ -> unit
val equal_method_ : method_ -> method_ -> bool
val string_of_method : method_ -> string
module type Client_intf = sig ... end
module Client : sig ... end