MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / restart

Function restart

src/confighttp.cpp:1417–1431  ·  view source on GitHub ↗

* @brief Authenticate a Web UI request and restart the Sunshine process. * * @param response HTTP response used for authentication or CSRF failures. * @param request HTTP request carrying the client identity and CSRF token. * * @api_examples{/api/restart| POST| null} */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

tray_restart_cbFunction · 0.70

Calls 4

authenticateFunction · 0.85
get_client_idFunction · 0.85
validate_csrf_tokenFunction · 0.85
print_reqFunction · 0.70

Tested by

no test coverage detected