Presenters
Jonathan Worthington
Zugänglich über
Offener Zugang
Dauer
00:48:22 Min
Aufnahmedatum
2020-03-04
Hochgeladen am
2020-03-04 21:11:37
Sprache
en-US
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