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.DbgSource
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.tcall meth iri performs a HTTP query to iri with the method meth. Optional parameters are:
bodyis used to provide the request body, empty by default.headersis the header of the request, empty by default.