
The JSON-API can't _really_ use regular http requests because this server then has to do a lot of multi-threading nonsense. For the sake of simplicity for myself and others that try to write their own FC compliant servers: the rtc server(for now) only takes in websocket requests, and attemptes to discern servers from users connections for event handling
25 lines
568 B
JSON
25 lines
568 B
JSON
{
|
|
"name": "rtc-server",
|
|
"version": "1.0.0",
|
|
"description": "RTC for Freechat",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "node main.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://gitlab.com/shockrah/freechat.git"
|
|
},
|
|
"author": "shockrah",
|
|
"license": "GPL-3.0",
|
|
"bugs": {
|
|
"url": "https://gitlab.com/shockrah/freechat/issues"
|
|
},
|
|
"homepage": "https://gitlab.com/shockrah/freechat#readme",
|
|
"dependencies": {
|
|
"jsonwebtoken": "^8.5.1",
|
|
"ws": "^7.4.4"
|
|
}
|
|
}
|