Skip to main content

try_handle_ping

Function try_handle_ping 

Source
pub fn try_handle_ping(raw: &str) -> Option<String>
Expand description

If raw is a JSON-RPC $/ping request with an id, returns the serialized pong response.