6#ifndef CWIST_SYS_APP_ASSETS_INTERNAL_H
7#define CWIST_SYS_APP_ASSETS_INTERNAL_H
16 const struct cwist_asset *
asset;
void cwist_assets_destroy(void *registry)
void cwist_assets_respond(cwist_http_request *req, cwist_http_response *res, const cwist_asset_match *match)
Fill a response for a matched asset.
int cwist_assets_clone(void **dst, const void *src)
Deep-copy a registry (used when an app is cloned).
bool cwist_assets_match(cwist_app *app, const cwist_http_request *req, cwist_asset_match *out)
Match an HTTP request to a registered asset.
Main Application Context.
const struct cwist_asset * asset
HTTP Response Object. Supports standard string body or Zero-Copy pointer body.
Core Application Structure and Lifecycle Management.