package sonet

  1. Overview
  2. Docs
type url = string
type payload = string
type error =
  1. | Unix of Unix.error
  2. | Http of int * string
  3. | Inactive_connection
  4. | Other of string
val string_of_error : error -> string
exception Invalid_url of url * string
exception Invalid_request of string
val is_supported_url : url -> bool
type request =
  1. | Payload of url list * payload option
  2. | FileRecv of url list * Unix.file_descr
  3. | FileSend of url list * Unix.file_descr
type response =
  1. | Success of Http.Response.t * (url * error) list
  2. | Failure of url * error * (url * error) list
module type C = sig ... end
module type RequestId = sig ... end
module Make (Id : RequestId) : sig ... end