Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IppClub/Dora-SSR
/ set_unauthorized
Function
set_unauthorized
Source/Http/HttpServer.cpp:424–427 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
422
}
423
424
static void set_unauthorized(httplib::Response& res) {
425
res.status = 401;
426
res.set_content(R
"({"
success
":false,"
message
":"
unauthorized
"})"
s,
"application/json"
s);
427
}
428
429
HttpServer::HttpServer()
430
: _authRequired(false)
Callers
1
start
Method · 0.85
Calls
1
set_content
Method · 0.80
Tested by
no test coverage detected