ReadonlycontextReadonlycontextReadonlyemitReadonlyengineReadonlyfreshReadonlyportReadonlytimeoutReadonlyvoidReadonlyworkersStatic ReadonlyALLOWED_The HTTP methods this service handles, as advertised via the Allow and Access-Control-Allow-Methods headers.
Static ReadonlyMIME_Static ReadonlyMIME_Static ReadonlyMIME_Static ReadonlyMIME_The query format that is accepted in the body of HTTP QUERY requests (RFC 10008).
Apply the dataset that a request specifies through the SPARQL protocol to the query it contains. The query is returned unchanged if the request does not specify a dataset.
A SPARQL engine.
The query body.
The parsed request URL.
The query context.
The query to execute.
Handles an HTTP request.
A SPARQL engine.
Allowed variants.
Output stream.
Error output stream.
Request object.
Response object.
Parses the body of a SPARQL POST or QUERY request
Request object.
A promise resolving to a query body object.
Start the HTTP service.
The output stream to log to.
The error stream to log errors to.
Start the HTTP service as master.
The output stream to log to.
The error stream to log errors to.
Start the HTTP service as worker.
The output stream to log to.
The error stream to log errors to.
Stop after timeout or if the connection is terminated
Response object.
The unique query id.
Error stream to write to.
OptionaleventEmitter: EventEmitter<DefaultEventMap>Query result stream.
Writes a 400 response with the given message.
Output stream.
Response object.
The reason why the request was rejected.
Writes an HTML view with YASGUI for querying the endpoint.
Output stream.
Request object.
Response object.
Writes the result of the given SPARQL query.
A SPARQL engine.
Output stream.
Error output stream.
Request object.
Response object.
The query body.
The requested response media type.
If only the header should be written.
If only data can be read, but not updated. (i.e., if we're in a GET request)
The unique id of this query.
StaticapplyApply the protocol-specified dataset to the WHERE clauses of an update operation.
An algebra factory.
An update operation.
The protocol-specified dataset.
The graphs that form the default graph.
The named graphs.
The update operation with the dataset applied.
StaticgenerateTakes parsed commandline arguments and turns them into an object used in the HttpServiceSparqlEndpoint constructor
The commandline arguments that the script was called with
The path to the invoking module.
The process env to get constants from.
The path to get the config from if none is defined in the environment.
The error stream.
An exit process callback.
Enables manipulation of the CLI arguments and their processing.
StaticgetDetermine the base IRI that relative IRIs in a request are resolved against.
Request object.
The port this service is running on.
The base IRI.
StaticgetDetermines the headers with which this service advertises the HTTP methods and query formats it supports.
The headers to extend.
The given headers, extended with the method advertisement headers.
StaticgetDetermine the RDF dataset that a request specifies through the SPARQL protocol.
The parsed request URL.
The type of operation the dataset applies to.
The graphs that form the default graph, and the named graphs.
StaticreadReads the body of a request as a UTF-8 string.
Request object.
A promise resolving to the request body.
StaticrunStarts the server
The commandline arguments that the script was called with
The output stream to log to.
The error stream to log errors to.
The path to the invoking module.
The process env to get constants from.
The path to get the config from if none is defined in the environment.
The callback to invoke to stop the script.
Enables manipulation of the CLI arguments and their processing.
A promise that resolves when the server has been started.
An HTTP service that exposes a Comunica engine as a SPARQL endpoint.