Readonly
contextReadonly
contextReadonly
engineReadonly
freshReadonly
portReadonly
timeoutReadonly
workersStatic
Readonly
MIME_Static
Readonly
MIME_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 request
Request object.
A promise resolving to a query body object.
Stop after timeout or if the connection is terminated
Response object.
The unique query id.
Error stream to write to.
Optional
eventEmitter: EventEmitter<DefaultEventMap>Query result stream.
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.
Static
generateTakes 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.
Static
runStarts 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.