ONVIF:...nvelope(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

🌸 ONVIF:...nvelope β€” the perl manual, but make it cute

okay bestie, welcome to the <pink>ONVIF:...nvelope</pink> page from the User Contributed Perl Documentation corner of the perl universe (that's the 3pm section, for all my perl-module girlies πŸ’…). buckle up, we're reading a manpage and we're gonna understand it.


✨ NAME ✨

ONVIF::Media::Types::Envelope β€” that's the whole name, no notes, no last name, iconic.


πŸ’– DESCRIPTION πŸ’–

so basically? this is a Perl data type class for the XML Schema complexType called Envelope, and it comes from this namespace:

http://schemas.xmlsoap.org/soap/envelope/

that's it, that's the vibe. it's a little perl wrapper holding hands with a SOAP envelope. no cap. 🫢

πŸŽ€ PROPERTIES πŸŽ€

these are the properties you can reach, and the way you reach them is with get_PROPERTY / set_PROPERTY methods. yes, literally those method names, with the property name swapped in. periodt.

  • Header β€” one of the properties! but here's the tea: the name of this property has been altered, because it didn't match perl's notion of variable/subroutine names. the altered name is what you use in perl code only β€” the XML output uses the original name. iykyk. πŸ™ˆ
  • Body β€” same situation, bestie! the name of this property has been altered too, again because it didn't match perl's notion of variable/subroutine names. the altered name lives in your perl code only, and the XML output goes back to using the original name.

πŸ”₯ METHODS πŸ”₯

πŸ’« new πŸ’«

the constructor!! it's giving main character energy. the following data structure may be passed to new():

 { # ONVIF::Media::Types::Envelope
   Header =>  { # ONVIF::Media::Types::Header
   },
   Body =>  { # ONVIF::Media::Types::Body
   },
 },

look at that nesting. Envelope holding a Header and a Body, both of them empty hashes waiting for their moment. slay. πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL

like, the machine did it. we respect the machine. ✨


and that's the whole page, bestie β€” nothing skipped, nothing hidden, every single flag... okay there are no flags, but every property, note and hash got its moment on stage. πŸ’–

quick reminder that the "altered name" thing is a real technical caveat: perl code sees the altered name, XML output sees the original. don't mix them up or the vibe check fails. 😭

perl v5.40.1 🌈 2026-02-01 🌈 ONVIF:...nvelope(3pm) β€” that's the version, the date, and the page name, right there in the footer, and we're shouting them out at the end like a proper outro. bye bestie, go write some SOAP. πŸ¦‹πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from