package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.2.tar.gz
sha256=203ee151ce793a977b2d3e66f8b3a0cd7a82cc7f15550c63d88cb30c71eb5f95
md5=64367c393f80ca784f88d07155da4fb0

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.