SockJS - SockJS Perl implementation
use Plack::Builder;
use SockJS;
builder {
mount '/echo' => SockJS->new(
handler => sub {
my ($session) = @_;
$session->on(
'data' => sub {
my $session = shift;
$session->write(@_);
}
);
};
);
};
SockJS is a Perl implementation of http://sockjs.org.
When using Twiggy there is no chunked support, thus try my fork http://github.com/vti/Twiggy.
See example/
directory.
http://github.com/vti/sockjs-perl
Matthew Lien (github/BlueT)
Mohammad S Anwar (github/manwar)
Viacheslav Tykhanovskyi, [email protected]
.
Copyright (C) 2013-2018, Viacheslav Tykhanovskyi
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.