mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

This allows us to decouple the WebSocket listening from the HTTP configs, making these features completely orthogonal.
28 lines
853 B
JSON
28 lines
853 B
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"@id": "urn:solid-server:default:ServerConfigurator",
|
|
"@type": "ParallelHandler",
|
|
"handlers": [
|
|
{
|
|
"comment": "Catches the server upgrade events and handles the WebSocket connections.",
|
|
"@type": "UnsecureWebSocketsProtocol",
|
|
"source": { "@id": "urn:solid-server:default:ResourceStore" }
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:ParallelMiddleware",
|
|
"@type": "ParallelHandler",
|
|
"handlers": [
|
|
{
|
|
"comment": "Advertises the websocket connection.",
|
|
"@type": "WebSocketAdvertiser",
|
|
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" }
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|