-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathREADME
59 lines (43 loc) · 1.73 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Webqq-Client v8.5.3 (该模块已经停止使用和开发 请换用 Mojo::Webqq https://github.com/sjdy521/Mojo-Webqq)
========================
使用Perl语言编写的Webqq客户端,并且可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
客户端异步框架
client
|
->login()
|
| +-------------------------<------------------------------+
| | |
|->_recv_message()-[put]-> Webqq::Message::Queue -[get]-> on_receive_message()
|
|->send_message() -[put]--+ +-[get]-> _send_message() ---+
| \ / |
|->send_sess_message()-[put]-Webqq::Message::Queue-[get]->_send_sess_message()-|
| / \ |
|->send_group_message()-[put]-+ +-[get]->_send_group_message()--|
| |
| on_send_message() ---<---- msg->{cb} -------<-------+
+->run()
安装步骤
perl Makefile.PL
make
make test
make install
推荐使用CPAN安装
cpan -i Webqq::Client
核心依赖模块
JSON
Encode::Locale
AnyEvent::HTTP
LWP::UserAgent
LWP::Protocol::https
Webqq::Encryption
可选模块
Webqq::Qun
版本更新记录
请参见 Changes 文件
COPYRIGHT 和 LICENCE
Copyright (C) 2014 by sjdy521
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.