[][src]Module web_static_pack::hyper_loader

Hyper integration. See examples/docs/main.rs for usage sample.

Entry point for this module is Responder. Create Responder providing reference to Loader. Use respond() method to serve file in response to request.

Structs

Responder

Main class for hyper integration. Given Loader, responds to incoming requests serving files from Loader.

StaticBody

Represents hyper HttpBody compatible response based on static memory chunk. This is used as a body handler for u8 content, directly from loader.