Changing message to binary

This commit is contained in:
Sergiotarxz 2023-03-14 04:35:37 +01:00
parent 6bcde9fa56
commit 5b67d106c0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ package MSGBA::Web::Controller::WS::Connection {
my $self = shift;
my $ws = $self->ws;
$self->_build_msgba_connection;
$ws->on('message', sub {
$ws->on('binary', sub {
my ($ws, $bytes) = @_;
if (!$bytes) {
warn "Received empty message";