pub fn respond(
handles: &HandleStore,
req_handle: u64,
status: u16,
headers: Vec<(String, String)>,
) -> Result<(), CoreError>Expand description
Send the response head for a request handle previously delivered to JS
via the RequestPayload::req_handle callback.
Partner of the head_rx rendezvous in [FfiDispatcher::dispatch]. The
JS handler calls this exactly once per request to provide the status +
headers; subsequent body bytes flow through the response body channel
referenced by RequestPayload::res_body_handle.