pub async fn handle(
opts: &HandleOpts<'_>,
) -> Result<StaticFileResponse, StatusCode>
Expand description
The server entry point to handle incoming requests which map to specific files on file system and return a file response.
pub async fn handle(
opts: &HandleOpts<'_>,
) -> Result<StaticFileResponse, StatusCode>
The server entry point to handle incoming requests which map to specific files on file system and return a file response.