Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Plack helpers for the long hair, or comet

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 eg
Octocat-spinner-32 lib
Octocat-spinner-32 share
Octocat-spinner-32 t
Octocat-spinner-32 xt
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .shipit
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
README
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
Something went wrong with that request. Please try again.