Help language development. Donate to The Perl Foundation

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

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

role Cro::BodySerializer {
    method is-applicable(Cro::MessageWithBody $message, $body --> Bool) { ... }
    method serialize(Cro::MessageWithBody $message, $body --> Supply) { ... }
}