File Coverage

blib/lib/Protocol/SPDY/Frame/Control/CREDENTIAL.pm
Criterion Covered Total %
statement 12 18 66.6
branch n/a
condition n/a
subroutine 4 7 57.1
pod 3 3 100.0
total 19 28 67.8


line stmt bran cond sub pod time code
1             package Protocol::SPDY::Frame::Control::CREDENTIAL;
2             {
3             $Protocol::SPDY::Frame::Control::CREDENTIAL::VERSION = '0.999_007';
4             }
5 3     3   9 use strict;
  3         4  
  3         64  
6 3     3   7 use warnings;
  3         3  
  3         63  
7 3     3   9 use parent qw(Protocol::SPDY::Frame::Control);
  3         7  
  3         12  
8              
9             =head1 NAME
10              
11             Protocol::SPDY::Frame::Control::CREDENTIAL - certificate exchange
12              
13             =head1 VERSION
14              
15             version 0.999_007
16              
17             =head1 SYNOPSIS
18              
19             use Protocol::SPDY;
20              
21             =head1 DESCRIPTION
22              
23             See L and L.
24              
25             =cut
26              
27 3     3   147 use Protocol::SPDY::Constants ':all';
  3         3  
  3         552  
28              
29             =head2 type_name
30              
31             This frame type ('CREDENTIAL').
32              
33             =cut
34              
35 0     0 1   sub type_name { 'CREDENTIAL' }
36              
37             =head2 from_data
38              
39             Instantiate from the given data.
40              
41             =cut
42              
43             sub from_data {
44 0     0 1   my $class = shift;
45 0           my %args = @_;
46 0           $class->new(
47             %args,
48             );
49             }
50              
51             =head2 to_string
52              
53             String representation, for debugging.
54              
55             =cut
56              
57             sub to_string {
58 0     0 1   my $self = shift;
59 0           $self->SUPER::to_string . ', unimplemented';
60             }
61              
62             1;
63              
64             __END__