Commit Graph

12 Commits

Author SHA1 Message Date
tt2468
d1d5dd74ea WebSocketServer: Send hello in onOpen 2021-04-28 22:03:23 -07:00
tt2468
b0a594e509 WebSocketCloseCode: Add InvalidContentType 2021-04-28 20:54:31 -07:00
tt2468
11913dac76 WebSocketServer: Rename sessionDuration to connectedAt 2021-04-28 11:14:00 -07:00
tt2468
1245958031 WebSocketSession: Add encoding 2021-04-28 10:41:51 -07:00
tt2468
948750da6a WebSocketServer: Start and stop 2021-04-28 10:27:32 -07:00
tt2468
d9ee288cf1 base: cmake is fucking retarded 2021-04-27 16:33:47 -07:00
tt2468
5d170d6bb3 WebSocketServer: Include WebSocketCloseCode 2021-04-27 15:29:09 -07:00
tt2468
b61cf82e84 base: Shutdown websocket server on unload 2021-04-27 15:25:11 -07:00
tt2468
8067cfb686 Base: Tons more shit 2021-04-27 14:52:48 -07:00
tt2468
107d3cce09 deps: Add nlohmann json
I decided to go with nlohmann::json because it supports both JSON and
msgpack. I'm likely going to have to write some conversion utils to
convert between obs_data_t and json, but the advantages of what
nlohmann::json brings to the table are just too attractive.
2021-04-27 09:46:00 -07:00
tt2468
a0162caad1 base: Add base RequestHandler and rpc files 2021-04-27 09:29:51 -07:00
tt2468
f0dfe72aca base: Add starting WebSocketServer files 2021-04-27 09:18:06 -07:00