pub fn log_file_handler(
    logpath: &str
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<LogFileHandlerResponse>), RequestError>
Expand description

Use the returned crate::ResponseBody<LogFileHandlerResponse> constructor, or LogFileHandlerResponse directly, to parse the HTTP response.

Arguments

  • logpath

    path to the log