Bushel_sync.HttpHTTP client using the requests library
HTTP client using the requests library
val src : Logs.srctype t = Requests.tval create :
sw:Eio.Switch.t ->
< clock : [> float Eio.Time.clock_ty ] Eio.Time.clock
; fs : Eio.Fs.dir_ty Eio.Path.t
; net : [> [> `Generic ] Eio.Net.ty ] Eio.Net.t.. > ->
Requests.tval get : http:Requests.t -> string -> (string, string) resultval get_with_header :
http:Requests.t ->
header:String.t ->
string ->
(string, string) resultval post :
http:Requests.t ->
content_type:string ->
body:string ->
string ->
(string, string) result