Skip to main content

relay_status_handler

Function relay_status_handler 

Source
pub async fn relay_status_handler(
    __arg0: State<Arc<NodeState>>,
) -> impl IntoResponse
Expand description

Handler for GET /scp/dev/v1/relay/status.

Returns a RelayStatusResponse with the relay’s bound address, active connection count from the shared connection tracker, and blob count from the blob storage backend.

See spec section 18.10.3.