package devkit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Development kit - general purpose library
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.20261006.tar.gz
md5=a39dbbce04bd5562a9b4443daf39c582
sha512=b10104b61384b2151521b785e7f3c3250134c75eae09b42cad69bc4a22a9a5e429beb891ee87cedf376c23d9c40f09d3f71c3fd48aa35df490c0f69dc17f3242
doc/devkit.core/Devkit_core/Web/Http/index.html
Module Web.HttpSource
Parameters
Signature
Source
val http_request_k :
result:((Curl.t * (int * string, Curl.curlCode) result) -> 'r) ->
'r requestthis is the most general form, pass result callback to massage the result before returning from the function e.g. if you need the redirect url in case of 3xx, do http_request_k ~result:http_result
this is the most straightforward result of http status code and content or error code
even easier - content on HTTP 2xx or error message
same as http_request but raise exception on non-2xx
send GET with a given content-type and body
Source
val http_submit :
?verbose:bool ->
?ua:string ->
?timeout:int ->
?setup:(Curl.t -> unit) ->
?timer:Action.timer ->
?http_1_0:bool ->
?headers:string list ->
?action:http_action ->
string ->
(string * string) list ->
[> `Error of string | `Ok of string ] IO.tsend POST with key-value form parameters
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page