erver
use warnings;
use strict;
use Carp;
use JSON;
use Net::WebSocket::Server;
our $VERSION = "2.000000";
$VERSION = eval $VERSION;
my $json = JSON->new->convert_blessed;
=head1 NAME
McBain::W
:WebSocket::Server>.
The created server will be a JSON-in JSON-out service. When a client sends a message to
the server, it is expected to be a JSON string, which will be converted into a hash-ref
an
to JSON as well and sent back to the client.
Note that if an API method does not return a hash-ref, this runner module will automatically
turn it into a hash-ref to ensure that conversion into JSON w