proxygen
RFCResponseTest Class Reference
Inheritance diagram for RFCResponseTest:

Public Member Functions

 RFCResponseTest ()
 

Protected Attributes

vector< HPACKHeaderresp1
 
vector< HPACKHeaderresp2
 
vector< HPACKHeaderresp3
 

Detailed Description

Definition at line 56 of file RFCExamplesTests.cpp.

Constructor & Destructor Documentation

RFCResponseTest::RFCResponseTest ( )
inline

Definition at line 58 of file RFCExamplesTests.cpp.

58  {
59  resp1.push_back(HPACKHeader(":status", "302"));
60  resp1.push_back(HPACKHeader("cache-control", "private"));
61  resp1.push_back(HPACKHeader("date", "Mon, 21 Oct 2013 20:13:21 GMT"));
62  resp1.push_back(HPACKHeader("location", "https://www.example.com"));
63 
64  resp2.push_back(HPACKHeader(":status", "307"));
65  resp2.push_back(HPACKHeader("cache-control", "private"));
66  resp2.push_back(HPACKHeader("date", "Mon, 21 Oct 2013 20:13:21 GMT"));
67  resp2.push_back(HPACKHeader("location", "https://www.example.com"));
68 
69  resp3.push_back(HPACKHeader(":status", "200"));
70  resp3.push_back(HPACKHeader("cache-control", "private"));
71  resp3.push_back(HPACKHeader("date", "Mon, 21 Oct 2013 20:13:22 GMT"));
72  resp3.push_back(HPACKHeader("location", "https://www.example.com"));
73  resp3.push_back(HPACKHeader("content-encoding", "gzip"));
74  resp3.push_back(
76  "set-cookie",
77  "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU; max-age=3600; version=1")
78  );
79  }
vector< HPACKHeader > resp2
vector< HPACKHeader > resp3
vector< HPACKHeader > resp1

Member Data Documentation

vector<HPACKHeader> RFCResponseTest::resp1
protected

Definition at line 82 of file RFCExamplesTests.cpp.

vector<HPACKHeader> RFCResponseTest::resp2
protected

Definition at line 83 of file RFCExamplesTests.cpp.

vector<HPACKHeader> RFCResponseTest::resp3
protected

Definition at line 84 of file RFCExamplesTests.cpp.


The documentation for this class was generated from the following file: