The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

AnyEvent::FTP::Server::Connection - FTP Server connection class

VERSION

version 0.16

METHODS

close

 $conn->close;

Emits a close signal.

context

 my $context_obj = $conn->context;

Required to be specified by the constructor and readonly - this is the context object.

ip

 my $ip = $conn->ip;

Required to be specified by the constructor and readonly - this is the IP address.

process_request

 $conn->process_request($line);

Process a single request. Returns the connection object ($conn).

send_response

 $conn->send_response($res)
 $conn->send_response($code, $message)

Sends the response. Returns the connection object ($conn).

AUTHOR

Author: Graham Ollis <plicease@cpan.org>

Contributors:

Ryo Okamoto

Shlomi Fish

José Joaquín Atria

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 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.