pub async fn widget_request(
session_id: String,
widget_id: String,
message: String,
runtime: State<'_, Runtime>,
) -> Result<WidgetResponse, String>Expand description
Authorizes a widget message against its session and runs it. Method failures are returned in the response rather than as a command error.