AnyEvent::SKKServ - Lightweight skkserv implementation for AnyEvent
use AnyEvent; use AnyEvent::SKKServ; my $cv = AE::cv(); my $skkserv = AnyEvent::SKKServ->new( on_request => sub { my ($handle, $request) = @_; ... }, ); $skkserv->run; $cv->recv;
AnyEvent::SKKServ is yet another skkserv implementation. And too simple, so it doesn't support jisyo (dictionary) file.
Let's make your own skkserv! (e.g. Google CGI API for Japanese Input, Social IME's API, ...)
THIS IS A DEVELOPMENT RELEASE. API MAY CHANGE WITHOUT NOTICE.
Takes an optional host address.
Takes an optional port number. (Defaults to 55100)
Takes a callback for when you receive an illegal data.
Takes callbacks corresponding to reply from the client (see "PROTOCOL").
Run skkserv.
end of connection
eee is keyword in EUC code with ' ' at the end
skkserv version number
hostname and its IP addresses
Error
eee is the associated line separated by '/'
Not Found
A for major version number, B for minor version number followed by a space
string for hostname, addr1 for an IP address followed by a space
Takumi Akiyama <akiym@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install AnyEvent::SKKServ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::SKKServ
CPAN shell
perl -MCPAN -e shell install AnyEvent::SKKServ
For more information on module installation, please visit the detailed CPAN module installation guide.