MR::IP...Request(3pm)
π MR::IProto::Request β request message
okay bestie, welcome to MR::IProto::Request β¨ this is a lil Perl module that lives in the user-contributed Perl docs, and it's giving "blueprint energy" because it's literally the base class for all request messages. think of it as the mom friend of the request-message family β it doesn't do the whole job itself, it just sets the vibe and lets the subclasses handle the rest π
πΈ DESCRIPTION πΈ
Base class for all request messages.
that's it, that's the whole thing. it's the template, the skeleton, the "you go do the actual work" parent π you don't instantiate this bad boy directly β you inherit from it and fill in the blanks.
β¨ PUBLIC METHODS β¨
these are the ones the world gets to see. the main character methods π
keyβ returns the key value. but here's the tea π«: you must reimplement this method in your subclass to use this feature. it does not come free, bestie, you gotta write it yourself.retryβ tells you if request retry is allowed. that's it. no cap.
π PROTECTED METHODS π
these ones are for the internals, the behind-the-scenes girlies π subclasses and the module itself use them, not random outside callers.
key_attrβ a class method which must return name of key attribute._build_dataβ you must implement this method in you subclass to pack your object. returns packed data. yes, the original really does say "you subclass", we are keeping it exactly as it is because that's the law around here π
fr fr, if you skip implementingkeyor_build_datain your subclass, the feature just won't work. the base class is not gonna do it for you, she's off the clock π
that's the whole page, no skips, no cuts, every last crumb preserved π
sign-off time: this page ships with perl v5.30.3 and is dated 2020-07-21 β iconic behavior, honestly π stay hydrated, implement your abstract methods, and go slay your request messages β¨π¦
π¦ where this page comes from
- debian bookworm: libmr-tarantool-perl 0.0.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmr-tarantool-perl 0.0.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libmr-tarantool-perl 0.0.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmr-tarantool-perl 0.0.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmr-tarantool-perl 0.0.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmr-tarantool-perl 0.0.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms