| Poe :: Componente :: Server :: http POE :: Componente :: Server :: HTTP è una base di un daemon HTTP PoE. |
Scarica ora |
Poe :: Componente :: Server :: http Classifica e riepilogo
- Licenza:
- Perl Artistic License
- Nome editore:
- Arthur Bergman
- Sito web dell'editore:
- http://search.cpan.org/~abergman/Hook-Scope-0.04/Scope.pm
Poe :: Componente :: Server :: http Tag
Poe :: Componente :: Server :: http Descrizione
Poe :: Componente :: Server :: HTTP è una base di un daemon HTTP PoE. PoE :: Componente :: Server :: HTTP è una base di un DAEMONE HTTP POE .synopsis Utilizzare POE :: Componente :: Server :: http; Usa http :: stato; My $ alias = Poe :: Componente :: Server :: http-> nuovo (porta => 8000, contenthandler => {'/' => handler1, '/ dir /' => sub {...}, '/ file '=> sub {...}}, intestazioni => {server =>' il mio server '},); Sub Handler {My ($ richiesta, $ risposta) = @_; $ risposta-> codice (RC_OK); $ Risposta-> Contenuto ("Ciao, hai recuperato". $ Richiesta-> URI); return rc_ok; } POE :: Kernel-> Chiamata ($ alias -> {httpd}, "spegnimento"); # La prossima linea non è veramente necessaria poe :: kernel-> chiamata ($ alias -> {tcp}, "spegnimento"); poe :: componente :: server :: http (Poco :: httpd) è un quadro per la costruzione Server http personalizzati basati su PoE. È modellato liberamente sulle idee di Apache e il modulo Mod_perl / Apache.it è costruito molto sul lavoro svolto da Gistro AAS su http :: * moduli e il modulo URI che sono sottoclassificati.POCO :: httpd ti consente di registrare un gestore diverso, Impilato per directory che verrà eseguito durante la causa della richiesta. Requisiti: · Perl.
Poe :: Componente :: Server :: http Software correlato