tt2468
09bfea0628
WebSocketProtocol: Add Identify logic (not tested well)
2021-04-29 20:37:28 -07:00
tt2468
f57d03e4bb
WebSocketProtocol: Rename Process to ProcessMessage
2021-04-29 19:14:23 -07:00
tt2468
e0183d2f85
WebSocketServer: This *should* complete the functionality of WebSocketServer.
2021-04-29 19:03:32 -07:00
tt2468
ad8b13606f
Base: Add WebSocketProtocol
...
Will be used to handle incoming websocket messages. Initially I was
going to handle messages within WebSocketServer, but the file is
starting to get very large and so it's only fair to split it up.
2021-04-29 10:52:29 -07:00
tt2468
44c5683ec4
WebSocketServer: Fix some bugs
2021-04-29 10:11:19 -07:00
tt2468
7c80a5d050
WebSocketServer: Add incoming and outgoing message logging and incrementing
2021-04-29 09:56:21 -07:00
tt2468
190d42fdf2
WebSocketServer: Initial onMessage handling
2021-04-29 09:42:22 -07:00
tt2468
724a63f1c8
WebSocketServer: Catch and ignore errors in Hello
sending.
2021-04-29 09:14:35 -07:00
tt2468
561ba907d4
WebSocketServer: Ignore send errors
2021-04-29 09:09:20 -07:00
tt2468
ba710efe09
WebSocketServer: Include password in changed GetConnectString()
...
New format is `obswebsocket|ip:port|password`
2021-04-29 09:06:12 -07:00
tt2468
4028d42931
WebSocketServer: Only encode event once and when it's required
2021-04-29 08:52:40 -07:00
tt2468
d8e84321b1
WebSocketServer: Clarify logging
2021-04-29 08:34:50 -07:00
tt2468
1cee256cb3
WebSocketServer: Store debug setting
2021-04-29 08:24:27 -07:00
tt2468
fa259b43a9
WebSocketServer: Finish BroadcastEvent()
2021-04-28 22:52:19 -07:00
tt2468
b43fc4fec6
WebSocketServer: Make QObject again
2021-04-28 22:13:02 -07:00
tt2468
0370b5882d
WebSocketServer: Finish GetConnectUrl()
2021-04-28 22:07:52 -07:00
tt2468
d1d5dd74ea
WebSocketServer: Send hello in onOpen
2021-04-28 22:03:23 -07:00
tt2468
c73f6608b9
Config: Add command line parameters to override port and password
2021-04-28 15:59:29 -07:00
tt2468
1dcf6460f1
Utils: Add Platform helpers
2021-04-28 14:24:05 -07:00
tt2468
af46271b27
WebSocketServer: Add some onOpen and onClose logic, make websocketpp logging mirror debug setting
2021-04-28 13:26:22 -07:00
tt2468
0be9174bb1
WebSocketServer: Don't call stop() on the server
...
For some reason I thought I was supposed to call it /shrug
2021-04-28 12:36:15 -07:00
tt2468
af7a539e84
Only stop server if its running
2021-04-28 12:20:56 -07:00
tt2468
a70e18a2bf
WebSocketServer: Add some error handling
2021-04-28 12:09:12 -07:00
tt2468
b53b40d9c8
base: Improve logging
2021-04-28 11:43:39 -07:00
tt2468
e2d837958f
WebSocketServer: Fix shutdown order
2021-04-28 11:40:07 -07:00
tt2468
5348c80aa8
WebSocketServer: Add GetWebSocketSessions() logic
2021-04-28 11:28:07 -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
98ec9d01ac
base: Dumb #include redefinitions
2021-04-27 16:45:44 -07:00
tt2468
d9ee288cf1
base: cmake is fucking retarded
2021-04-27 16:33:47 -07:00
tt2468
8067cfb686
Base: Tons more shit
2021-04-27 14:52:48 -07:00
tt2468
f0dfe72aca
base: Add starting WebSocketServer files
2021-04-27 09:18:06 -07:00