1 | NAME |
1 | NAME |
2 | Net::XMPP2 - An implementation of the XMPP Protocol |
2 | Net::XMPP2 - An implementation of the XMPP Protocol |
3 | |
3 | |
4 | VERSION |
4 | VERSION |
5 | Version 0.02 |
5 | Version 0.03 |
6 | |
6 | |
7 | SYNOPSIS |
7 | SYNOPSIS |
8 | use Net::XMPP2::Connection; |
8 | use Net::XMPP2::Connection; |
9 | |
9 | |
10 | or: |
10 | or: |
… | |
… | |
70 | Net::SSLeay |
70 | Net::SSLeay |
71 | For SSL connections. |
71 | For SSL connections. |
72 | |
72 | |
73 | Net::DNS |
73 | Net::DNS |
74 | For SRV RR lookups. |
74 | For SRV RR lookups. |
|
|
75 | |
|
|
76 | Digest::SHA1 |
|
|
77 | For component authentication. |
75 | |
78 | |
76 | And yes, all these are essential for XMPP communication. Even though |
79 | And yes, all these are essential for XMPP communication. Even though |
77 | 'instant messaging' and 'presence' is a quite simple problem XMPP |
80 | 'instant messaging' and 'presence' is a quite simple problem XMPP |
78 | somehow was successful at making the task complicated enough to keep me |
81 | somehow was successful at making the task complicated enough to keep me |
79 | busy for a long time. But all of that time wasn't only for the |
82 | busy for a long time. But all of that time wasn't only for the |
… | |
… | |
83 | |
86 | |
84 | RELEASE NOTES |
87 | RELEASE NOTES |
85 | Here are some notes to the releases (release of this version is at top): |
88 | Here are some notes to the releases (release of this version is at top): |
86 | |
89 | |
87 | Version |
90 | Version |
|
|
91 | * 0.03 |
|
|
92 | This release adds new events for attaching information to "XML" |
|
|
93 | stanzas that are in transmission to the server. See also the events |
|
|
94 | "send_*_hook" in Net::XMPP2::Connection. |
|
|
95 | |
|
|
96 | The event callbacks als don't have to return a true value anymore. |
|
|
97 | What the return values do depends on the event now. |
|
|
98 | |
|
|
99 | The highlight of this release is the implementation of XEP-0114, the |
|
|
100 | Jabber Component Protocol. |
|
|
101 | |
|
|
102 | You can also set the initial priority of the presence in |
|
|
103 | Net::XMPP2::IM::Connection now. |
|
|
104 | |
|
|
105 | Please consult the Changes file for greater detail about bugfixes |
|
|
106 | and new features. |
|
|
107 | |
88 | * 0.02 |
108 | * 0.02 |
89 | This release adds lots of small improvements on the API (mostly new |
109 | This release adds lots of small improvements to the API (mostly new |
90 | events), and also some bugfixes here and there. The release also |
110 | events), and also some bugfixes here and there. The release also |
91 | comes with some new examples, you might want to take a look at the |
111 | comes with some new examples, you might want to take a look at the |
92 | "EXAMPLES" section. |
112 | "EXAMPLES" section. |
93 | |
113 | |
94 | As a highlight I also present the implementation of XEP-0004 (Data |
114 | As a highlight I also present the implementation of XEP-0004 (Data |
… | |
… | |
207 | These scripts are a bit hacky and quite complicated, but maybe it's |
227 | These scripts are a bit hacky and quite complicated, but maybe it's |
208 | of any value for someone. You might note "EVQ.pm" in samples which |
228 | of any value for someone. You might note "EVQ.pm" in samples which |
209 | is a module that handles request-throttling (You don't want to flood |
229 | is a module that handles request-throttling (You don't want to flood |
210 | the server and risk getting the admins attention :). |
230 | the server and risk getting the admins attention :). |
211 | |
231 | |
|
|
232 | samples/simple_component |
|
|
233 | This is a (basic) skeleton for a jabber component. |
|
|
234 | |
212 | For others, which the author might forgot or didn't want to list here |
235 | For others, which the author might forgot or didn't want to list here |
213 | see the "samples/" directory. |
236 | see the "samples/" directory. |
214 | |
237 | |
215 | More examples will be included in later releases, please feel free to |
238 | More examples will be included in later releases, please feel free to |
216 | ask the "AUTHOR" if you have any questions about the API. There is also |
239 | ask the "AUTHOR" if you have any questions about the API. There is also |