27 std::pair<HTTPTransactionIngressSMData::State, bool>
32 using TransitionTable = std::map<std::pair<State, Event>,
State>;
76 auto const &it = transitions->find(std::make_pair(s, e));
77 if (it == transitions->end()) {
78 return std::make_pair(s,
false);
81 return std::make_pair(it->second,
true);
91 os <<
"HeadersReceived";
94 os <<
"RegularBodyReceived";
97 os <<
"ChunkHeaderReceived";
100 os <<
"ChunkBodyReceived";
103 os <<
"ChunkCompleted";
106 os <<
"TrailersReceived";
109 os <<
"UpgradeComplete";
115 os <<
"ReceivingDone";
132 os <<
"onChunkHeader";
135 os <<
"onChunkComplete";
std::ostream & operator<<(std::ostream &os, const HeaderTable &table)
static std::pair< State, bool > find(State s, Event e)