Course of Raku / Functional, concurrent, reactive, and web programming / Web programming

Cro 101

Building real web services on raw sockets quickly becomes tedious: parsing requests, routing URLs, handling many clients, speaking HTTPS. Cro is the Raku framework that does all of this for you. It is the standard, modern way to write web servers and clients in Raku.

This final section is a short tour of Cro — just enough to see its shape. Cro is not part of the core, so to run these examples you install it first with zef install cro.

Topics in this section

Practice

Complete the quiz that covers the contents of this section.

Exercises

This section contains 2 exercises. Examine all the topics of this section before doing the coding practice.

  1. A route with a parameter
  2. A second route

Course navigation

Solution: An HTML response   |   What is Cro