Help language development. Donate to The Perl Foundation

Cro::Core cpan:JNTHN last updated on 2021-11-12

lib/Cro/BodyParser.pm6
use Cro::MessageWithBody;

role Cro::BodyParser {
    method is-applicable(Cro::MessageWithBody $message --> Bool) { ... }
    method parse(Cro::MessageWithBody $message --> Promise) { ... }
}