Chia-liang Kao (高嘉良) > Web-Hippie-0.40 > Web::Hippie

Download:
Web-Hippie-0.40.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.40   Source  

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 ^

syntax highlighting: