Alias HTTPRouter

An interface for HTTP request routers.

As of 0.7.24, the interface has been replaced with a deprecated alias to URLRouter. This will break any code relying on HTTPRouter being an interface, but won't break signatures.

Declaration

alias deprecated HTTPRouter = URLRouter;

Removal notice

Note that this is planned to be removed, due to interface/behavior considerations. In particular, the exact behavior of the router (most importantly, the route match string format) must be considered part of the interface. However, this removes the prime argument for having an interface in the first place.

Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.