package js_of_ocaml
Compiler from OCaml bytecode to JavaScript
Install
dune-project
Dependency
Authors
Maintainers
Sources
js_of_ocaml-6.4.1.tbz
sha256=e59bbffcaefaba3191620556514b7f53bb3249e3f881a070d72724234dffd819
sha512=bb470f316f9c81a3b2b8dedd0b0f18f8e06beb48dd70df1d9f846de90ffab439cab5ef7a93a8166af0998068b06097e8319bc0d9f4f23a7159b0de8b3b515746
doc/js_of_ocaml/Js_of_ocaml/Fetch/index.html
Module Js_of_ocaml.FetchSource
Fetch API.
Headers
Build a headers object from a list of (name, value) pairs.
Request
Initializer for request (and fetch_with_init). All fields are optional; create an empty record with empty_request_init and populate the ones you need.
Source
val request_of_request_with_init :
(request Js.t -> requestInit Js.t -> request Js.t) Js.constrnew%js request_of_request_with_init r init builds a request using r as a template, overriding fields set in init.
Response
fetch
Whether the fetch global is available in the current environment.