package ldp_js
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Ldp_js.Dbg
Source
Performing HTTP queries using Firebug.console##log
as logging function.
Source
val 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.