Skip to main content

blocking_response

Function blocking_response 

Source
fn blocking_response(payload: &str) -> String
Expand description

A response to a request that asked for structured output instead of a stream: one whole JSON object, whose text content is payload, the JSON the caller’s own schema describes.