26 Commits

Author SHA1 Message Date
halcy
6f7d4576c0 Fix some streaming related issues 2023-04-23 19:41:57 +03:00
amaargiru
68ac32b6be Format code with PEP 8 standards 2023-01-02 18:39:16 +05:00
halcy
1d5b308016 Add more streaming events, some tests 2022-11-21 22:17:20 +02:00
Miroslav Šedivý
762861f344 refactor: use is for None 2022-11-20 20:14:25 +01:00
halcy
cfcc6bccc7 Prep 1.6.0 2022-11-15 10:44:34 +02:00
Andy Piper
cf25f69446
Doc and docstring updates for consistency 2022-11-13 21:42:29 +00:00
halcy
5215c2242d Fix some things in streaming and admin API for 3.3.0 support 2022-11-13 18:39:56 +02:00
Aljoscha Rittner
af59a46068 Support of processing unknown events and event names with dots.
#Fixes 234
2022-06-24 17:39:26 +02:00
Lorenz Diener
a8e49756f4 Add a test case for conversation streaming 2019-10-11 22:32:51 +02:00
Lorenz Diener
a29d278bf9 Add support for conversation streaming 2019-04-28 14:28:05 +02:00
Lorenz Diener
f809e0029c Stream decoder now iterates more, fixes #155 2019-04-27 18:35:47 +02:00
Lorenz Diener
57520beea7 Improve on_abort handler 2018-06-05 17:37:11 +02:00
Lorenz Diener
0882c91cfc Clarify streaming docs 2018-06-04 20:05:11 +02:00
Lorenz Diener
b663394c6d Streaming error handler 2018-06-04 17:58:11 +02:00
codl
06e32c14bc
raise MastodonReadTimeout when a stream times out 2018-04-19 17:10:42 +02:00
Lorenz Diener
d0ae9dcd05 Add async autoreconnect 2018-04-17 14:35:09 +02:00
Lorenz Diener
86ec5d7eca Re-raise Chunked Encoding Errors as Network Errors 2018-02-20 14:04:17 +01:00
Lorenz Diener
216a4447b4 Fixed event not being cleared after dispatch 2018-01-29 12:28:44 +01:00
Lorenz Diener
791439d96b Remove state from handle_stream, fixes #119 2018-01-29 12:24:53 +01:00
Lorenz Diener
18543648a6 Adjust streaming tests 2017-12-21 11:06:13 +01:00
Lorenz Diener
9f9a7826d7 Fix streaming API to be more stable (closes #117) 2017-12-19 13:49:00 +01:00
Lorenz Diener
e220e7cc60 Many fixes for streaming stuff 2017-11-24 15:08:34 +01:00
Lorenz Diener
cea4d4251a Change exceptions slightly 2017-11-24 14:20:27 +01:00
Lorenz Diener
de2114b92b BREAKING: Make streaming use json hooks 2017-11-24 13:59:50 +01:00
FoxMaSk
e0e68ccd6a not pep8 compliant #71 2017-09-05 22:59:32 +02:00
Will Thompson
ab60931620
Initial implementation of streaming API
This is missing any error handling and rate-limiting around the stream
itself, but once the stream is established, the full range of events are
supported.

Fixes issue #14.
2017-04-10 08:18:08 +01:00