Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ ping
Function
ping
supervisor/src/web_api.rs:71–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
70
#[get(
"/ping"
)]
71
fn ping() -> Json<Response<&'static str>> {
72
Json(Response::Data(
"pong"
))
73
}
74
75
#[post(
"/clear"
)]
76
fn clear(supervisor: &State<Supervisor>) -> Json<Response<()>> {
Callers
nothing calls this directly
Calls
1
Data
Class · 0.85
Tested by
no test coverage detected