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

Method reset

src/http/RequestParser.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16RequestParser::RequestParser() : state_(method_start) {}
17
18void RequestParser::reset() {
19 state_ = method_start;
20 lowcase = Header{};
21}
22
23RequestParser::state RequestParser::consume(RequestHeader &req, char input) {
24 switch (state_) {

Callers 15

send_submitMethod · 0.45
send_getcurrency_idMethod · 0.45
send_getworkMethod · 0.45
clearMethod · 0.45
read_nextMethod · 0.45
clearMethod · 0.45
read_nextMethod · 0.45
set_protocolMethod · 0.45
disconnectMethod · 0.45
commit_db_txnMethod · 0.45
closeMethod · 0.45
closeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected