Searched refs:file_path (Results 1 – 2 of 2) sorted by relevance
17 let mut file_path: String = String::from(""); in handle_connection() localVariable30 file_path = format!("./{app_name}/{stream_name}/{stream_name}.m3u8"); in handle_connection()45 file_path = format!("./{app_name}/{stream_name}/{ts_name}.ts"); in handle_connection()49 simple_file_send(file_path.as_str()).await in handle_connection()
484 fn gen_file_response(file_path: &str) -> HttpResponse { in gen_file_response()487 let mut file = File::open(file_path).expect("Failed to open file"); in gen_file_response()