Cro is a set of libraries and tools for building distributed systems in Raku. It is most commonly used for building HTTP services and web applications.
The Cro HTTP router provides a means to maps incoming requests into code to handle them and produce a response. This talk explores some of the vast range of functionality provided by the router and various plugins to it, including:
* Matching on path segments
* Serving static content
* Serving dynamic responses
* Rendering a template
* Obtaining values from the query string, cookies, and headers
* Handling request bodies
* Producing appropriate HTTP responses
* Composing more complex applications from multiple pieces
* Web sockets
* Sessions, authentication, and authorization
* Various ways of adding middleware
* Custom body parsers and serializers