val (let>) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.tval (let>?) :
('a, 'b) Stdlib.result Lwt.t ->
('a -> ('c, 'b) Stdlib.result Lwt.t) ->
('c, 'b) Stdlib.result Lwt.tval timeout_fail :
(('a, [> `interval_timeout of float ]) Stdlib.result -> unit) ->
float option ->
unit Lwt.tval stream_handler_lwt :
?timeout:float ->
('a ->
string ->
[< `continue of 'a | `stop of ('a, 'b) Stdlib.result ] Lwt.t) ->
(('a, [> 'b Httpun_common.stream_error ]) Stdlib.result -> unit) ->
'a ->
Httpun.Response.t ->
Httpun.Body.Reader.t ->
unitval call :
?msg:string ->
?meth:
[> `CONNECT
| `DELETE
| `GET
| `HEAD
| `OPTIONS
| `Other of string
| `PATCH
| `POST
| `PUT
| `TRACE ] ->
?content:string ->
?content_type:Httpun.Headers.value ->
?headers:(Httpun.Headers.name * Httpun.Headers.value) list ->
?timeout:float ->
string ->
(string,
[> `exn of exn
| `http of int * string
| `invalid_url of string
| `msg of string
| `timeout of float ])
Stdlib.result
Lwt.tval stream :
?meth:
[> `CONNECT
| `DELETE
| `GET
| `HEAD
| `OPTIONS
| `Other of string
| `PATCH
| `POST
| `PUT
| `TRACE ] ->
?content:string ->
?content_type:Httpun.Headers.value ->
?headers:(Httpun.Headers.name * Httpun.Headers.value) list ->
?timeout:float ->
?interval_timeout:float ->
url:string ->
('a ->
string ->
[< `continue of 'a | `stop of ('a, 'b) Stdlib.result ] Lwt.t) ->
'a ->
('a,
[> `cb of 'b
| `exn of exn
| `http of int * string
| `interval_timeout of float
| `invalid_url of string
| `msg of string
| `timeout of float ])
Stdlib.result
Lwt.t