Rust referenceloom-gateway
loom-gateway · routes::blob
Source declarations, signatures and documentation for routes::blob.
Source: sigil/weave/tools/loom-gateway/src/routes/blob.rs. SHA-256: 2845c8f43f60a01eb4f726e980c74484830e1b8353d682e4d66bebb017cdec12.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
routes::blob::BlobQuery
#[derive(Deserialize)]
pub struct BlobQuery {
/// Optional content-disposition filename hint for the browser.
pub filename: Option<String>
}Source line: 15.
routes::blob::raw
pub async fn raw(
State(state): State<AppState>,
Path((name, hash)): Path<(String, String)>,
Query(q): Query<BlobQuery>,
) -> Result<Response, ApiError>;Source line: 20.