Skip to content

jegade/p5-AnyEvent-FlashSocketPolicy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

AnyEvent::FlashSocketPolicy - Asynchronous socket policy file server for a flash socket connection.

SYNOPSIS

use AnyEvent::FlashSocketPolicy; my $server = AnyEvent::FlashSocketPolicy->new( permitted_cross_domain_policies => 'master-only', domain => '*', to_ports => '5000', ); $server->run;

Or just like this.

% flash-socket-policy-server --domain-policy=master-only --domain='*' --to-ports=5000 &

DESCRIPTION

AnyEvent::FlashSocketPolicy is a simple asynchronous socket policy file server with AnyEvent::Socket.

It is faster than adobe's one which using inetd, and flexibly customizable.

METHODS

new(%options)

Create flash socket policy file server.

my $server = AnyEvent::FlashSocketPolicy->new(
    permitted_cross_domain_policies => 'master-only',
    domain => '*',
    to_ports => '5000',
);

Available options are:

  • permitted_cross_domain_policies
  • domain
  • to_ports
  • port
  • policy

run

Start the server.

DEPENDENCIES

TODO

  • Logging
  • Exception handling
  • Support reading existing files.

AUTHOR

keroyonn keroyon@cpan.org

SEE ALSO

LICENSE

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

About

Perl Module of AnyEvent::FlashSocketPolicy

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages