Skip to main content

MediaResponse

Type Alias MediaResponse 

Source
pub type MediaResponse = (u16, Value);
Expand description

A media data-path response: the HTTP status code and the JSON body. Core maps the u16 back to an axum StatusCode and wraps the body in Json, so the wire behavior is byte-identical to the pre-extraction handlers.