Skip to content

SPARQL Studio API / Yasqe / qlueLs / configureBackend

Function: configureBackend()

configureBackend(client, endpoint, options?): Promise<void>

Defined in: sparql-utils/src/languageServers/qlueLs.ts:457

Register a SPARQL endpoint with the qlue-ls client and make it the default backend (so completions resolve against it). Editor-agnostic — works with both the Monaco and CodeMirror language clients. Safe to call repeatedly (e.g. from a server's onReady or an endpoint-change handler): the same endpoint is only registered once per client.

Parameters

client

QlueLsClient | undefined

endpoint

string

options?

BackendOptions = {}

Returns

Promise<void>