NAME

OneTool::Daemon - OneTool Daemon module

MOOSE OBJECT

SUBROUTINES/METHODS

Listener()

Listener for HTTP/HTTPS API requests

comment my $daemon = HTTP::Daemon::SSL->new( ReuseAddr => 1, LocalAddr => $self->{ip}, LocalPort => $self->{port}, SSL_cert_file => "$FindBin::Bin/../conf/certs/server-cert.pem", SSL_key_file => "$FindBin::Bin/../conf/certs/server-key.pem" ) || die IO::Socket::SSL::errstr();

Log($str_level, $msg)

Logs message $msg with loglevel $str_level

AUTHOR

Sebastien Thebert <contact@onetool.pm>