443:89526c890363 | 444:12c1be0044c6 |
---|---|
242 | 242 |
243 function conn_listener.onstatus(conn, new_status) | 243 function conn_listener.onstatus(conn, new_status) |
244 stream:event("status", new_status); | 244 stream:event("status", new_status); |
245 end | 245 end |
246 | 246 |
247 function conn_listener.onreadtimeout(conn) | |
248 return stream:event("read-timeout"); | |
249 end | |
247 return conn_listener; | 250 return conn_listener; |
248 end | 251 end |
249 | 252 |
250 return verse; | 253 return verse; |