Skip to main content

submit_response

Function submit_response 

Source
pub async fn submit_response(
    envelope: &Envelope,
    response: CommandResponse,
) -> Result<()>
Expand description

Submit a command response back to the ARC server

This function implements the complete ARC response submission protocol:

  • Small responses (≤ maxInlineBytes) are submitted inline as base64
  • Large responses are uploaded to storage first, then submitted with storage reference