pub fn route_object_callback(
value_json: &str,
handler: &Arc<Mutex<Option<ObjectResponseHandler>>>,
) -> Option<(String, Value)>Expand description
Route an object-callback request frame to the registered closure.
Object-callback frames are org.mockserver.model.HttpRequest messages that
carry a WebSocketCorrelationId but no X-MockServer-BreakpointId
header (that header marks a paused-breakpoint request, handled elsewhere).
Returns None when the frame is a breakpoint request (has a breakpoint id)
or when no object handler is registered — in both cases the caller falls
through to the breakpoint request path. On a match, invokes the closure
(auto-continuing with a passthrough response on panic), echoes the
WebSocketCorrelationId onto the reply, and returns
("org.mockserver.model.HttpResponse", response_json).