SockJS Perl Plack/PSGI implementation
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
lib
t-vendor
t
.gitignore
.proverc
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile
minil.toml

README.md

NAME

SockJS - SockJS Perl implementation

SYNOPSIS

use Plack::Builder;
use SockJS;

builder {
    mount '/echo' => SockJS->new(
        handler => sub {
            my ($session) = @_;

            $session->on(
                'data' => sub {
                    my $session = shift;

                    $session->write(@_);
                }
            );
        };
    );
};

DESCRIPTION

SockJS is a Perl implementation of http://sockjs.org.

WARNINGS

When using Twiggy there is no chunked support, thus try my fork http://github.com/vti/Twiggy.

EXAMPLE

See example/ directory.

DEVELOPMENT

Repository

http://github.com/vti/sockjs-perl

CREDITS

AUTHOR

Viacheslav Tykhanovskyi, vti@cpan.org.

COPYRIGHT AND LICENSE

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.