package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.4.tar.gz
sha256=4817038301d3e45bac9edf7e6f2fc8bf0a6d78e76e02ad7ea33ef69bcc17df3b
md5=25234357587126685d64f16236167937

doc/alba.fmlib_js/Fmlib_js/Browser/Make/argument-1-App/Command/index.html

Module App.Command

type 'msg t =
  1. | None
  2. | Batch of 'msg t list
  3. | Http of string * string * string * (string, int) result -> 'msg
    (*

    Http (type, url, data, handler)

    The type is GET, POST, HEAD, etc.

    data will be sent as part of the request (makes sense only for POST and related request types).

    handler must be able to react to the response text or the status in case an error occurs (the famous 404 for "page not found").

    *)
OCaml

Innovation. Community. Security.