File Coverage

blib/lib/Protocol/SPDY.pm
Criterion Covered Total %
statement 66 66 100.0
branch n/a
condition n/a
subroutine 22 22 100.0
pod n/a
total 88 88 100.0


line stmt bran cond sub pod time code
1             package Protocol::SPDY;
2             # ABSTRACT: Support for the SPDY protocol
3 3     3   36429 use strict;
  3         6  
  3         112  
4 3     3   15 use warnings;
  3         6  
  3         136  
5              
6             our $VERSION = '1.000';
7              
8             =head1 NAME
9              
10             Protocol::SPDY - abstract support for the SPDY protocol
11              
12             =head1 VERSION
13              
14             version 1.000
15              
16             =head1 SYNOPSIS
17              
18             use Protocol::SPDY;
19              
20             =cut
21              
22             # Pull in all the required pieces
23 3     3   1881 use Protocol::SPDY::Constants ':all';
  3         8  
  3         847  
24              
25             # Helpers
26 3     3   3104 use curry;
  3         712  
  3         90  
27 3     3   3211 use Future;
  3         64226  
  3         124  
28              
29             # Support for deflate/gzip
30 3     3   1830 use Protocol::SPDY::Compress;
  3         12  
  3         113  
31              
32             # Basic frame wrangling
33 3     3   1955 use Protocol::SPDY::Frame;
  3         11  
  3         162  
34 3     3   1951 use Protocol::SPDY::Frame::Control;
  3         9  
  3         80  
35 3     3   1779 use Protocol::SPDY::Frame::Data;
  3         7  
  3         89  
36              
37             # Specific frame types
38 3     3   1855 use Protocol::SPDY::Frame::Control::SETTINGS;
  3         9  
  3         88  
39 3     3   1874 use Protocol::SPDY::Frame::Control::SYN_STREAM;
  3         10  
  3         98  
40 3     3   3450 use Protocol::SPDY::Frame::Control::SYN_REPLY;
  3         8  
  3         96  
41 3     3   1900 use Protocol::SPDY::Frame::Control::RST_STREAM;
  3         8  
  3         86  
42 3     3   1799 use Protocol::SPDY::Frame::Control::PING;
  3         7  
  3         87  
43 3     3   2049 use Protocol::SPDY::Frame::Control::GOAWAY;
  3         6  
  3         104  
44 3     3   1986 use Protocol::SPDY::Frame::Control::HEADERS;
  3         7  
  3         91  
45 3     3   1917 use Protocol::SPDY::Frame::Control::WINDOW_UPDATE;
  3         9  
  3         92  
46 3     3   1856 use Protocol::SPDY::Frame::Control::CREDENTIAL;
  3         11  
  3         94  
47              
48             # Stream management
49 3     3   2056 use Protocol::SPDY::Stream;
  3         11  
  3         112  
50              
51             # Client/server logic
52 3     3   2004 use Protocol::SPDY::Server;
  3         11  
  3         133  
53 3     3   1793 use Protocol::SPDY::Client;
  3         8  
  3         85  
54 3     3   1865 use Protocol::SPDY::Tracer;
  3         8  
  3         100  
55              
56             1;
57              
58             __END__