Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

vti/sockjs-perl

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status MetaCPAN Release Kritika Status Kritika Status Kritika Status

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

Matthew Lien (github/BlueT)

Mohammad S Anwar (github/manwar)

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.

About

SockJS Perl Plack/PSGI implementation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published