package ldp_js

  1. Overview
  2. Docs
Library to build LDP applications in JS

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-ldp-0.5.0.tar.gz
md5=fee838e51dd241528ad271c6ef56345a
sha512=cbb718fb10fbc12c3b2f38a57d87e6af13e108699bf5a812cc490ed3397ed9c0f5d2793b5848c7e6d75a47dd10cfa87ba8bacc119f01733f22cc116ea045b27f

doc/ldp_js/Ldp_js/Dbg/index.html

Module Ldp_js.DbgSource

Performing HTTP queries using Firebug.console##log as logging function.

Sourceval dbg : string -> unit Lwt.t

Debugging function taking a debug message.

Sourceval call : ?body:Cohttp_lwt.Body.t -> ?headers:Cohttp.Header.t -> Cohttp.Code.meth -> Iri.t -> (Cohttp.Response.t * Cohttp_lwt.Body.t) Lwt.t

call meth iri performs a HTTP query to iri with the method meth. Optional parameters are:

  • body is used to provide the request body, empty by default.
  • headers is the header of the request, empty by default.
OCaml

Innovation. Community. Security.