package alba

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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.