Skip to main content

Module artifact_server

Module artifact_server 

Source
Expand description

Provides the artifact_server module.

§Examples

ⓘ
use pharos_native::artifact_server;

Structs§

StaticResponse
A bounded static response selected from one packaged app artifact.
StreamError
A bounded static error plus optional unsatisfied representation length.
StreamResponse
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.