Data::A...Remoting(3)
β¨ Data::A...Remoting(3) β¨
okay bestie, pull up a chair β this is the Data::AMF::Remoting page from the User Contributed Perl Documentation section. it's giving "i handle your Flash/Flex RPC so you don't have to" and honestly? iconic. π
πΈ NAME πΈ
Data::AMF::Remoting β handle Flash/Flex RPC. no cap, that's the whole job. π¦
π SYNOPSIS π
use Data::AMF::Remoting
my $remoting = Data::AMF::Remoting->new(
source => $data,
headers_handler => sub
{
my @headers = @_;
# Do authenticate or something.
return @headers;
},
message_handler => sub
{
my $message = shift;
# Call action using target_uri and value.
my ($controller_name, $action) = split '\.', $message->target_uri;
$controller_name->require;
my $controller = $controller_name->new;
return $controller->$action($message->value);
}
);
$remoting->run;
my $data = $remoting->data;
look at that. a whole RPC pipeline in like twenty lines. we love a low-effort-high-reward moment fr fr. π«Ά
π DESCRIPTION π
Data::AMF::Remoting provides to handle Flash/Flex RPC. that's it, that's the vibe. it's the lil guy standing between your Flash/Flex client and your Perl code, catching the packets and passing the drama along. β¨
π SEE ALSO π
Data::AMFβ the sibling. the main character's supporting cast. go say hi. π
π¦ METHODS π¦
π run
Handle AMF Packet data. this is the go button β you call it, it does the thing. main character energy tbh. π₯
π ACCESSORS π
πΈ data
return AMF Data. the receipts. the aftermath. the $data you came for. π
π§ AUTHOR π§
Takuho Yoshizu <seagirl@cpan.org> β seagirl!! we stan a legend with taste. π
β COPYRIGHT β
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module. (yes bestie, read the LICENSE, it's the rules of the house π
)
and that's a wrap on Data::A...Remoting(3) from perl v5.42.0, dated 2025-07-25 β mwah, slay, periodt. πβ¨π
π¦ where this page comes from
- fedora 43: perl-Data-AMF 0.09-41.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms