package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0
doc/b0.std/B0_http/Http_client/index.html
Module B0_http.Http_clientSource
HTTP clients.
The type for HTTP clients.
Source
val make :
?insecure:bool ->
?search:B0_std.Cmd.tool_search ->
?cmd:B0_std.Cmd.t ->
unit ->
(t, string) resultmake ~search ~cmd () looks for cmd (defaults to Cmd.tool "curl") in search (defaults to Os.Cmd.get ~search). If insecure is true (defaults to false) TLS server certificates are not checked.
request httpc ~follow r performs request r via httpr. If follow is true HTTP redirects for GET and HEAD requests that return 301, 302, 303, 305 or 307 are automatically followed.
The response's Http.Response.headers are lowercased.
Command line interface
curl is a cli interface for specifying the curl command line tool.
Source
val curl_fetch_args :
?args:B0_std.Cmd.t ->
progress:bool ->
B0_url.t ->
B0_std.Fpath.t ->
B0_std.Cmd.tcurl_fetch_args url file are curl arguments to fetch the URL url and write it to file. If progress is true it is reported. args are added to the result before the URL. Redirections are followed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page