MCPcopy Create free account
hub / github.com/SmingHub/Sming / startWebServer

Function startWebServer

samples/UdpServer_mDNS/app/application.cpp:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void startWebServer()
115{
116 server.listen(80);
117 server.paths.set("/", onIndex);
118
119 Serial.println(_F("\r\n"
120 "=== WEB SERVER STARTED ==="));
121 Serial.println(WifiStation.getIP());
122 Serial.println(_F("==========================\r\n"));
123}
124
125void connectFail(const String& ssid, MacAddress bssid, WifiDisconnectReason reason)
126{

Callers 1

gotIPFunction · 0.70

Calls 4

printlnMethod · 0.80
listenMethod · 0.45
setMethod · 0.45
getIPMethod · 0.45

Tested by

no test coverage detected