12 #include <unordered_map> 19 std::pair<HTTPTransactionEgressSMData::State, bool>
24 using TransitionTable =
59 State::ChunkHeaderSent},
69 auto const &it = transitions->find(std::make_pair(s, e));
70 if (it == transitions->end()) {
71 return std::make_pair(s,
false);
74 return std::make_pair(it->second,
true);
87 os <<
"RegularBodySent";
90 os <<
"ChunkHeaderSent";
93 os <<
"ChunkBodySent";
96 os <<
"ChunkTerminatorSent";
122 os <<
"sendChunkHeader";
125 os <<
"sendChunkTerminator";
128 os <<
"sendTrailers";
std::ostream & operator<<(std::ostream &os, const HeaderTable &table)
static std::pair< State, bool > find(State s, Event e)