Module @comunica/actor-rdf-update-hypermedia-put-ldp - v4.0.2

Comunica Put LDP RDF Update Hypermedia Actor

npm version

An RDF Update Hypermedia actor that handles destinations over HTTP via HTTP Linked Data Platform PUT requests.

Optionally, if the destination exposes the Accept-Put header, the server's suggested media type will be used as PUT content type.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

$ yarn add @comunica/actor-rdf-update-hypermedia-put-ldp

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-update-hypermedia-put-ldp/^4.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:rdf-update-hypermedia/actors#put-ldp",
      "@type": "ActorRdfUpdateHypermediaPutLdp",
      "mediatorHttp": { "@id": "urn:comunica:default:http/mediators#main" },
      "mediatorRdfSerializeMediatypes": { "@id": "urn:comunica:default:query-result-serialize/mediators#mainMediatypes" },
      "mediatorRdfSerialize": { "@id": "urn:comunica:default:query-result-serialize/mediators#main" }
    }
  ]
}

Classes

ActorRdfUpdateHypermediaPutLdp
QuadDestinationPutLdp

Interfaces

IActorRdfUpdateHypermediaPostLdpArgs