type http_error = | Bad_url of string| Timeout| Network_error of string| Bad_status of int| Bad_body of string
type http_response = {url : string;status : int;body : string;
}type 'msg t = | None| Msg of 'msg| Http_get of Cap.network
* string
* (http_response, http_error) Stdlib.result ->
'msg| Http_post of Cap.network
* string
* string * string
* (http_response, http_error) Stdlib.result ->
'msg| Batch of 'msg t list
val batch : 'msg t list -> 'msg tval to_list : 'msg t -> 'msg t list