Skip to content
Snippets Groups Projects
Commit c1431809 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Set alias of the webserver session

parent b0530cb5
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ sub init ...@@ -86,7 +86,7 @@ sub init
# Spawn a web server on port 8088 of all interfaces. # Spawn a web server on port 8088 of all interfaces.
POE::Component::Server::TCP->new( POE::Component::Server::TCP->new(
Alias => "webserver", Alias => "plugin.webserver",
Port => 8088, Port => 8088,
ClientFilter => 'POE::Filter::HTTPD', ClientFilter => 'POE::Filter::HTTPD',
# Function to handle HTTP requests (as we passing through a filter) # Function to handle HTTP requests (as we passing through a filter)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment