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