File: Response.pod

package info (click to toggle)
libnet-sip-perl 0.59-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 856 kB
  • ctags: 338
  • sloc: perl: 7,864; makefile: 7
file content (38 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

=head1 NAME

Net::SIP::Response - handling of SIP response packets

=head1 SYNOPSIS

  my $resp = Net::SIP::Response->new( '401','Authorization required',... );

=head1 DESCRIPTION

Subclass of L<Net::SIP::Packet> for handling response packets.

=head1 CONSTRUCTOR

Inherited from L<Net::SIP::Packet>. See there.

Seldom used directly, usually responses get not generated from
scratch, but based on a request with the B<create_response> method
from L<Net::SIP::Request>.

=head1 METHODS

=over 4

=item code

Get numerical code of response.

=item msg

Get text for code from response.

=item method

Get method for orginal request by parsing the CSeq header.

=back