Navigation Menu

Skip to content

clkao/Web-Hippie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME
    Web::Hippie - Web toolkit for the long hair, or comet

SYNOPSIS
      use Plack::Builder;

      builder {
        mount '/_hippie' => builder {
          enable "+Web::Hippie";
          sub { my $env = shift;
                my $args = $env->{'hippie.args'};
                my $handle = $env->{'hippie.handle'};
                # Your handler based on PATH_INFO: /init, /error, /message
          }
        };
        mount '/' => my $app;
      };

DESCRIPTION
    Web::Hippie provides unified persistent and streamy communication
    channel over HTTP via websocket (bidirectional) or mxhr
    (uni-directional) for your <PSGI> application. See Web::Hippie::Pipe for
    unified bidirectional abstraction with message bus.

SEE ALSO
    Web::Hippie::Pipe, Web::Hippie::App::JSFiles

AUTHOR
    Chia-liang Kao <clkao@clkao.org>

LICENSE
    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

SEE ALSO