MCPcopy Create free account
hub / github.com/bcndev/bytecoin / reset

Method reset

src/http/ResponseParser.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15ResponseParser::ResponseParser() : state_(http_version_h) {}
16
17void ResponseParser::reset() {
18 state_ = http_version_h;
19 lowcase = Header{};
20}
21
22ResponseParser::state ResponseParser::consume(ResponseHeader &req, char input) {
23 switch (state_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected