Featured functions

Web servers

In the penultimate Web Servers lesson, we discuss connection persistence – why it is desirable, and how to make it happen. At this point, we are starting to really take full advantage of Attoparsec’s incremental parsing. We also begin to shift away from lazy I/O, preferring to explicitly read and write chunks of strict ByteStrings instead, in preparation for introducing pipes in the next lesson.