NAME

AnyEvent::Ident::Response - Simple asynchronous ident response

VERSION

version 0.08

ATTRIBUTES

as_string

my $str = $res->as_string

The raw request as it was returned from the server.

is_success

my $bool = $res->is_success

True if the server returned a user and operating system, false otherwise.

server_port

my $port = $res->server_port

The server port in the original request.

client_port

my $port = $res->client_port

The client port in the original request.

username

my $username = $res->username

The username in the response.

os

my $os = $res->os

The operating system in the response.

charset

my $charset = $res->charset

The encoding for the username. This will be US-ASCII if it was not provided by the server.

error_type

my $type = $res->error_type

The error type returned from the server. Normally, this is one of

  • INVALID-PORT

  • NO-USER

  • HIDDEN-USER

  • UNKNOWN-ERROR

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

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