AnyEvent::FTP::Server::Connection - FTP Server connection class
version 0.19
$conn->close;
Emits a close signal.
my $context_obj = $conn->context;
Required to be specified by the constructor and readonly - this is the context object.
my $ip = $conn->ip;
Required to be specified by the constructor and readonly - this is the IP address.
$conn->process_request($line);
Process a single request. Returns the connection object ($conn).
$conn->send_response($res) $conn->send_response($code, $message)
Sends the response. Returns the connection object ($conn).
Author: Graham Ollis <plicease@cpan.org>
Contributors:
Ryo Okamoto
Shlomi Fish
José Joaquín Atria
This software is copyright (c) 2017-2021 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.