Group
Extension

Matches 2

App-SocialCalc-Multiplayer ( A/AU/AUDREYT/App-SocialCalc-Multiplayer-20110626.tar.gz, AUDREYT, 2011; MetaCPAN )
App-SocialCalc-Multiplayer/socialcalc/third-party/lib/PocketIO/Connection.pm ( view source; MetaCPAN )
package PocketIO::Connection;

use strict;
use warnings;

use AnyEvent;
use JSON ();
use Encode ();
use Try::Tiny;

use PocketIO::Pool;

use constant DEBUG => $ENV{POCKETIO_CONNECTION_DEBUG};

sub new
 $self = shift;
    my ($message) = @_;

    if (ref $message) {
        $message = '~j~' . JSON::encode_json($message);
    }
    else {
        $message = Encode::encode('UTF-8', $message);
    }

 
           my $json;

                try {
                    $json = JSON::decode_json(Encode::encode('UTF-8', $1));
                };

                return $json if defined $json;

            
App-SocialCalc-Multiplayer ( A/AU/AUDREYT/App-SocialCalc-Multiplayer-20110626.tar.gz, AUDREYT, 2011; MetaCPAN )
App-SocialCalc-Multiplayer/socialcalc/third-party/lib/PocketIO/Transport/Base.pm ( view source; MetaCPAN )
package PocketIO::Transport::Base;

use strict;
use warnings;

use JSON   ();
use Encode ();
use Try::Tiny;
use Scalar::Util qw(weaken);

use Plack::Request;
use PocketIO::Handle;
use PocketIO::Pool;

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.