AnyEve...nection(3pm)
β¨ NAME β¨
AnyEvent::FTP::Server::Connection β bestie, it's the FTP Server connection class π
(this one ships with the User Contributed Perl Documentation, manual page AnyEve...nection(3pm))
π VERSION π
version 0.20 β yes she's on 0.20 and she's thriving β¨
π METHODS π
okay so here's the whole roster of things you can do with a connection object, one by one, no skips π«Ά
πΈ close
$conn->close;
Emits a close signal. that's it, that's the whole job. she says bye and the signal goes out π£
π¦ context
my $context_obj = $conn->context;
Required to be specified by the constructor, and it's readonly β so once it's set, it's set, no take-backs. this is the context object. periodt π
β ip
my $ip = $conn->ip;
Also required to be specified by the constructor, also readonly, same energy. this is the IP address ngl, straight to the point π
π§ process_request
$conn->process_request($line);
Process a single request. Returns the connection object ($conn). one request in, the same connection object out, like a lil boomerang π₯
π send_response
$conn->send_response($res)
$conn->send_response($code, $message)
Sends the response β and she takes two different shapes depending on your vibe: pass a $res, or pass a $code plus a $message. Returns the connection object ($conn). iconic β¨
π AUTHOR π
Author: Graham Ollis <plicease@cpan.org>
Contributors:
- Ryo Okamoto
- Shlomi Fish
- JosΓ© JoaquΓn Atria
like, the whole squad showed up for this one π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2017-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so like, go off, remix it, share it, it's yours to play with π«Ά
okay that's the whole page bestie, no cap π₯ and before you go β this fine piece of documentation was rendered by perl v5.40.1 on 2026-02-16 under the banner AnyEve...nection(3pm). mwah π go write some FTP code, you got this πβ¨π
π¦ where this page comes from
- ubuntu stonking: libanyevent-ftp-perl 0.20-1 Β· 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