package alba

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

http_get url handler Make a http get request to url and handle the response with handler.

OCaml

Innovation. Community. Security.