Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ onIndex
Function
onIndex
samples/WebcamServer/app/application.cpp:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
*/
21
22
void onIndex(HttpRequest&, HttpResponse& response)
23
{
24
response.sendFile(_F(
"index.html"
));
25
}
26
27
void onFile(HttpRequest& request, HttpResponse& response)
28
{
Callers
nothing calls this directly
Calls
1
sendFile
Method · 0.45
Tested by
no test coverage detected