mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:03:30 +00:00
Switched WebSocket start motor to allow callbacks when client connects
This commit is contained in:
@@ -31,10 +31,10 @@ pub fn init() -> Extension {
|
||||
|
||||
log4rs::init_config(config).unwrap();
|
||||
|
||||
websocket::start();
|
||||
|
||||
Extension::build()
|
||||
.group("websocket", Group::new()
|
||||
.command("start", websocket::start)
|
||||
.command("stop", websocket::stop)
|
||||
.command("message", websocket::message)
|
||||
.command("location", websocket::location)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user