MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / ProcessMessage

Method ProcessMessage

src/Networking/HttpResponder.cpp:1173–1194  ·  view source on GitHub ↗

Process the message received. We have reached the end of the headers.

Source from the content-addressed store, hash-verified

1171
1172// Process the message received. We have reached the end of the headers.
1173void HttpResponder::ProcessMessage() noexcept
1174{
1175 if (reprap.Debug(Module::Webserver))
1176 {
1177 Platform& p = GetPlatform();
1178 p.Message(UsbMessage, "HTTP req, command words {");
1179 for (size_t i = 0; i < numCommandWords; ++i)
1180 {
1181 p.MessageF(UsbMessage, " %s", commandWords[i]);
1182 }
1183 p.Message(UsbMessage, " }, parameters {");
1184
1185 for (size_t i = 0; i < numQualKeys; ++i)
1186 {
1187 p.MessageF(UsbMessage, " %s=%s", qualifiers[i].key, qualifiers[i].value);
1188 }
1189 p.Message(UsbMessage, " }\n");
1190 }
1191
1192 responderState = ResponderState::processingRequest;
1193 startedProcessingRequestAt = millis();
1194}
1195
1196// Process the message received. We have reached the end of the headers.
1197void HttpResponder::ProcessRequest() noexcept

Callers

nothing calls this directly

Calls 3

DebugMethod · 0.80
MessageMethod · 0.80
MessageFMethod · 0.45

Tested by

no test coverage detected