feat: Split up server creation and request handling

This allows us to decouple the WebSocket listening from the HTTP configs,
making these features completely orthogonal.
This commit is contained in:
Joachim Van Herwegen
2022-09-29 16:34:38 +02:00
parent 764ce3cc28
commit 4223dcf8a4
64 changed files with 949 additions and 694 deletions

View File

@@ -0,0 +1,17 @@
{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
"import": [
"css:config/http/server-factory/configurator/default.json"
],
"@graph": [
{
"comment": "An example of how to set up an HTTPS server providing key/cert paths directly in the config.",
"@id": "urn:solid-server:default:ServerFactory",
"@type": "BaseServerFactory",
"configurator": { "@id": "urn:solid-server:default:ServerConfigurator" },
"options_https": true,
"options_key": "/path/to/server.key",
"options_cert": "/path/to/server.cert"
}
]
}