mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-14 04:56:37 +00:00
feat: adds status messages for wssv
This commit is contained in:
parent
b845e427e2
commit
12ef858ed3
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue