mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
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.
This commit is contained in:
parent
44c5683ec4
commit
ad8b13606f
@ -72,6 +72,7 @@ set(obs-websocket_SOURCES
|
||||
src/obs-websocket.cpp
|
||||
src/Config.cpp
|
||||
src/WebSocketServer.cpp
|
||||
src/WebSocketProtocol.cpp
|
||||
src/WebSocketSession.cpp
|
||||
src/requesthandler/RequestHandler.cpp
|
||||
src/requesthandler/rpc/Request.cpp
|
||||
@ -85,6 +86,7 @@ set(obs-websocket_HEADERS
|
||||
src/obs-websocket.h
|
||||
src/Config.h
|
||||
src/WebSocketServer.h
|
||||
src/WebSocketProtocol.h
|
||||
src/WebSocketSession.h
|
||||
src/requesthandler/RequestHandler.h
|
||||
src/requesthandler/rpc/Request.h
|
||||
|
1
src/WebSocketProtocol.cpp
Normal file
1
src/WebSocketProtocol.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "WebSocketProtocol.h"
|
4
src/WebSocketProtocol.h
Normal file
4
src/WebSocketProtocol.h
Normal file
@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#include "WebSocketSession.h"
|
||||
#include "requesthandler/RequestHandler.h"
|
@ -5,9 +5,9 @@
|
||||
#include <QTime>
|
||||
|
||||
#include "WebSocketServer.h"
|
||||
#include "WebSocketProtocol.h"
|
||||
#include "obs-websocket.h"
|
||||
#include "Config.h"
|
||||
#include "requesthandler/RequestHandler.h"
|
||||
#include "utils/Utils.h"
|
||||
|
||||
#include "plugin-macros.generated.h"
|
||||
|
Loading…
Reference in New Issue
Block a user