# Nephia-Plugin-PocketIO **Repository Path**: mirrors_gitpan/Nephia-Plugin-PocketIO ## Basic Information - **Project Name**: Nephia-Plugin-PocketIO - **Description**: Read-only release history for Nephia-Plugin-PocketIO - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-20 - **Last Updated**: 2026-02-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NAME Nephia::Plugin::PocketIO - Nephia plugin that provides DSL for using PocketIO # SYNOPSIS Your app class ... package MyApp; use Nephia plugins => ['PocketIO']; path '/' => sub { +{ template => 'index.html' }, }; pocketio 'message' => sub { my ($socket, $message) = @_; $socket->emit('response', sub {sprintf('you said "%s"', $message)} ); }; and, your template(view/index.html) ...