|
RTSP::Request - Class encapsulating RTSP requests |
RTSP::Request - Class encapsulating RTSP requests
my $request = new RTSP::Request ('SETUP',
URI => 'rtsp://somesite.com/some/stream',
Version => '1.0',
Headers => {
}
$request->method('METHOD_NAME');
$request->version('1.0');
my $accept = $request->header('Header-Name');
=cut
use 5.005; use strict; use warnings; use vars '$VERSION'; use base 'RTSP::Headers'; use RTSP::Utility;
$VERSION = '0.9';
#==============================================================================#
The constructor method. This creates a new RTSP::Request object and returns a reference to it. The first argument is a string containing the RTSP request method name (for example, ``SETUP'', ``OPTIONS'', or ``TEARDOWN''). In addition, it takes the following optional named parameters:
|
RTSP::Request - Class encapsulating RTSP requests |