//
// 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
//

= Router

This example defines a router for URL paths.
If the specified route matches one of the existing routes, the example executes the underlying callback function.

[source,cpp]
----
include::example$example/router.cpp[tag=example_router,indent=0]
----



