Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes. Set by lizmat on 24 May 2021. |
|||
kawaii_ | Is it not possible to use `request` or `request-body` in a middleware block? I assume not because it isn't really a request handler but I thought it might be the easiest way for me to validate the content-type of my payload, since according to the docs these routines automatically throw a nice HTTP client error when they can't unpack it www.irccloud.com/pastebin/moPUVfeI/ | 08:38 | |
jnthnwrthngtn | You can use `request`/`response` in those, but `request-body` is going to run you into the same bother (it's consumable only once) | 09:36 | |
18:45
sena_kun left
18:46
sena_kun joined
|