Expand description
Provides the artifact_server module.
§Examples
ⓘ
use pharos_native::artifact_server;§Related
crate::binariesfor sibling binary-facing entrypoints.crate::runtimefor the runtime surfaces that invoke artifact serving.
Structs§
- Static
Response - A bounded static response selected from one packaged app artifact.
- Stream
Error - A bounded static error plus optional unsatisfied representation length.
- Stream
Response - A validated file slice that can be copied to a connection with bounded memory.
Functions§
- path_
has_ parent_ reference - Returns whether a request path contains a parent-directory component.
- run
- Runs the extracted bounded loopback static server.
- serve_
app_ private_ asset - Streams one already-authorized app-private asset.
- serve_
app_ request - Serves one request using the extracted static-runtime crate.
- serve_
app_ streamable_ asset - Resolves one direct app asset into a bounded streaming response.