// // Copyright (c) 2023 Alan de Freitas (alandefreitas@gmail.com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/url // = File Router This example defines a router that associates URL paths to a directory in the filesystem. If the specified route matches and the file exists, the example prints its contents to standard output. [source,cpp] ---- include::example$example/file_router.cpp[tag=example_file_router,indent=0] ----