mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
feat: adds status messages for wssv
This commit is contained in:
@@ -50,12 +50,14 @@ namespace PepperDash.Core
|
|||||||
|
|
||||||
public void StartServerAndSetPort(int port)
|
public void StartServerAndSetPort(int port)
|
||||||
{
|
{
|
||||||
|
Debug.Console(0, "Starting Websocket Server on port: {0}", port);
|
||||||
_wssv = new WebSocketServer(port);
|
_wssv = new WebSocketServer(port);
|
||||||
_wssv.Start();
|
_wssv.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void StopServer()
|
public void StopServer()
|
||||||
{
|
{
|
||||||
|
Debug.Console(0, "Stopping Websocket Server");
|
||||||
_wssv.Stop();
|
_wssv.Stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user