
HTTP::Server::Simple::Bonjour - Bonjour plugin for HTTP::Server::Simple

package MyServer;
# You need to put ::Bonjour first so NEXT can work properly
use base qw( HTTP::Server::Simple::Bonjour HTTP::Server::Simple::CGI );
sub service_name { "My awesome webserver" }
MyServer->new->run;

HTTP::Server::Simple::Bonjour is an HTTP::Server::Simple plugin to publish the server name and TCP port via Bonjour so anyone in the local network can discover your web server.

This method returns the name of the webserver your server wants to advertise
This method returns the bonjour service for your application. Most HTTP servers can safely leave this untouched. Override it and return something of the form '_http._tcp' if you need to.

Tatsuhiko Miyagawa <miyagawa@cpan.org>
Jesse Vincent

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