proxygen
RFCRequestTest Class Reference
Inheritance diagram for RFCRequestTest:

Public Member Functions

 RFCRequestTest ()
 

Protected Attributes

vector< HPACKHeaderreq1
 
vector< HPACKHeaderreq2
 
vector< HPACKHeaderreq3
 

Detailed Description

Definition at line 28 of file RFCExamplesTests.cpp.

Constructor & Destructor Documentation

RFCRequestTest::RFCRequestTest ( )
inline

Definition at line 30 of file RFCExamplesTests.cpp.

30  {
31  req1.push_back(HPACKHeader(":method", "GET"));
32  req1.push_back(HPACKHeader(":scheme", "http"));
33  req1.push_back(HPACKHeader(":path", "/"));
34  req1.push_back(HPACKHeader(":authority", "www.example.com"));
35 
36  req2.push_back(HPACKHeader(":method", "GET"));
37  req2.push_back(HPACKHeader(":scheme", "http"));
38  req2.push_back(HPACKHeader(":path", "/"));
39  req2.push_back(HPACKHeader(":authority", "www.example.com"));
40  req2.push_back(HPACKHeader("cache-control", "no-cache"));
41 
42  req3.push_back(HPACKHeader(":method", "GET"));
43  req3.push_back(HPACKHeader(":scheme", "https"));
44  req3.push_back(HPACKHeader(":path", "/index.html"));
45  req3.push_back(HPACKHeader(":authority", "www.example.com"));
46  req3.push_back(HPACKHeader("custom-key", "custom-value"));
47  }
vector< HPACKHeader > req2
vector< HPACKHeader > req3
vector< HPACKHeader > req1

Member Data Documentation

vector<HPACKHeader> RFCRequestTest::req1
protected

Definition at line 50 of file RFCExamplesTests.cpp.

vector<HPACKHeader> RFCRequestTest::req2
protected

Definition at line 51 of file RFCExamplesTests.cpp.

vector<HPACKHeader> RFCRequestTest::req3
protected

Definition at line 52 of file RFCExamplesTests.cpp.


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