- SEE ALSO
- COPYRIGHT AND LICENSE
AnyEvent::Finger::Request - Simple asynchronous finger request
my $request = AnyEvent::Finger::Request->new('foo@localhost');
This class represents finger request. It is passed into AnyEvent::Finger::Server when a finger request is made. See the documentation on that class for more details.
my $request = AnyEvent::Finger::Request->new( $address )
The constructor takes a string which is the raw finger request.
All attributes for this class are read only.
my $value = $request->verbose
True if request is asking for a verbose response. False if request is not asking for a verbose response.
my $value = $request->username
The username being requested.
my $value = $request->hostnames
Returns a list of hostnames (as an array ref) in the request.
my $value = $request->as_string
Converts just the username and hostnames fields into a string.
my $value = $request->listing_request
Return true if the request is for a listing of users.
my $value = $request->forward_request
Return true if the request is to query another host.
Graham Ollis <email@example.com>
This software is copyright (c) 2012 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.