Skip to main content

document_answer

Function document_answer 

Source
fn document_answer(
    surface: &ViewSurface,
    seat: &SessionSlot,
    outcome: Result<DocumentRead, String>,
) -> ServerMessage
Expand description

One document read’s outcome, as the asking client reads it: the answer with the document’s bytes base64, or the refusal under the seat that asked - the seat is what lets a client holding several seats drain only its own.