Changing message to binary
This commit is contained in:
parent
6bcde9fa56
commit
5b67d106c0
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user