28 Apr 2021 19:44:25 UTC
- Distribution: AnyEvent-Finger
- Module version: 0.12
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (197 / 0 / 0)
- KwaliteeBus factor: 1
- 89.35% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity24 month
- Download (22.48KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionPLICEASE Graham Ollis 🇺🇦🌻
- SEE ALSO
- COPYRIGHT AND LICENSE
AnyEvent::Finger::Transaction - Simple asynchronous finger transaction
This class is a container for response and request objects which is used when a finger request comes into AnyEvent::Finger::Server server instance. It also provides information about the connection (the remote, local ports and the remote client's address).
All attributes for this class are read-only.
my $request = $tx->req;
Returns the request object associated with the transaction (an instance of AnyEvent::Finger::Request).
my $response = $tx->res;
Returns the response object associated with the transaction (an instance of AnyEvent::Finger::Response).
my $port = $tx->remote_port;
Returns the remote TCP port being used to make the request.
my $port = $tx->local_port;
Returns the local TCP port being used to make the request.
my $address = $tx->remote_address;
Returns the IP address from whence the finger request is coming from.
Graham Ollis <email@example.com>
This software is copyright (c) 2012-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.
Module Install Instructions
To install AnyEvent::Finger, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install AnyEvent::Finger
For more information on module installation, please visit the detailed CPAN module installation guide.