:AnyEvent)],
modules_init => {
"WebSocket::AnyEvent" => {
mount => '/ws',
serializer => "json",
},
},
# in application's build method
my $ws = $self->websocket;
$ws->add(message => s
default, an exception will be re-thrown, and effectively the connection will be closed.
If Kelp JSON module is initialized with I<'allow_nonref'> flag then this event will never occur.
C<$error> wi