NAME
Net::Icecast2::Admin - Icecast2 Server Admin API
SYNOPSIS
use Net::Icecast2::Admin;
my $icecast_admin = Net::Icecast2::Admin->new(
host => 192.168.1.10,
port => 8008,
protocol => 'https',
login => 'source',
password => 'hackme',
);
$icecast_admin->stats;
$icecast_admin->list_mount;
DESCRIPTION
Make request for Icecast2 Server Admin API
ATTRIBUTES
host
Description : Icecast2 Server hostname
Default : localhost
Required : 0
port
Description : Icecast2 Server port
Default : 8000
Required : 0
protocol
Description : Icecast2 Server protocol ( scheme )
Default : http
Required : 0
login
Description : Icecast2 Server Admin login
Required : 1
password
Description : Icecast2 Server Admin password
Required : 1
METHODS
stats
Usage : $icecast_admin->stats
Description : This admin function provides the ability to query the internal
statistics kept by the icecast server. Almost all information
about the internal workings of the server such as the
mountpoints connected, how many client requests have been
served, how many listeners for each mountpoint, etc, are
available via this admin function.
list_mounts
Usage : $icecast_admin->list_mounts
Description : This admin function provides the ability to view all the
currently connected mountpoints.
SEE ALSO
Icecast2 server: http://www.icecast.org Icecast2 API Docs: http://www.icecast.org/docs/icecast-trunk/icecast2_admin.html
Related modules Net::Icecast2 Net::Icecast2::Mount
AUTHOR
Pavel R3VoLuT1OneR Zhytomirsky <r3volut1oner@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Pavel R3VoLuT1OneR Zhytomirsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.