Add websocket support

This commit is contained in:
Aditya Kulkarni
2019-01-15 15:10:38 -08:00
parent 5c23be69f8
commit 0e23f137c4
7 changed files with 125 additions and 8 deletions

View File

@@ -15,6 +15,7 @@
#include "turnstile.h"
#include "senttxstore.h"
#include "connection.h"
#include "websockets.h"
using json = nlohmann::json;
@@ -98,7 +99,7 @@ MainWindow::MainWindow(QWidget *parent) :
}
void MainWindow::createWebsocket() {
new WSServer(8237, true, this);
}
void MainWindow::restoreSavedStates() {