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

Function startWebServer

samples/Basic_IFS/app/application.cpp:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void startWebServer()
143{
144 server.listen(80);
145 server.paths.setDefault(onFile);
146
147 Serial.println("\r\n=== WEB SERVER STARTED ===");
148 Serial.println(WifiStation.getIP());
149 Serial.println("==============================\r\n");
150}
151
152void gotIP(IpAddress ip, IpAddress netmask, IpAddress gateway)
153{

Callers 1

gotIPFunction · 0.70

Calls 4

setDefaultMethod · 0.80
printlnMethod · 0.80
listenMethod · 0.45
getIPMethod · 0.45

Tested by

no test coverage detected