efaee7594e
should a socket operation be attempted after socket closed
...
then catch and log OSError and close thread.
2024-01-07 12:35:20 +00:00
cac236c004
removes timeout for socket before starting worker thread
2024-01-07 11:19:33 +00:00
6aa6db09eb
adds an event object and listens until its set
...
sets the event object on WebSocketConnectionClosedException
adds __enter__(), __exit__() methods
adds disconnect() to event client. aliases it as unsubscribe
checks for non-empty response with:
`if r := self.base_client.ws.recv()`
before attempting to json.load() it.
2024-01-05 09:57:08 +00:00
5462c47b65
log errors raised in authenticate()
2023-06-28 17:56:56 +01:00
Adem
468c63f697
auth logger for clients
...
added RpcVersion in auth loggers for both requests and events clients.
removed the check in baseclient auth function and returned the whole response.
2023-06-23 01:48:45 +03:00
2c07f242ad
added module level loggers.
...
class loggers implemented as child loggers.
patch bump
2023-06-22 22:17:20 +01:00
9e3c1d3f37
raise timeout errors.
...
added some error/exception logging.
added timeout parameter to repr methods.
2023-06-19 17:45:49 +01:00
48e90c82fb
alter format of __repr__ in Req + Event clients
...
password now defaults to empty string, not None.
2022-12-05 18:18:10 +00:00
cf888b0c4a
conn paramters added to __repr__ magic methods
...
add __str__ override (used in logger)
2022-12-05 16:41:34 +00:00
onyx-and-iris
d4ae72dee5
Subs moved into enum.py
...
Subs now exported
2022-10-26 11:08:24 +01:00
onyx-and-iris
5e7860d3ed
override repr
2022-10-25 05:28:50 +01:00
onyx-and-iris
27fd86efa5
only check for host+port values in init.
...
only pass auth token if auth enabled
add context manager methods to reqclient.
added logging
2022-10-24 22:42:16 +01:00
onyx-and-iris
1db3b2db4d
pass empty dict if data is None in trigger()
...
fixes bug with ExitStarted event.
remove redundant assignment in conn_from_toml
add explicit call to ws.close() in unsubscribe()
patch bump
2022-09-26 10:58:02 +01:00
aatikturk
6311234d48
namechange ops
2022-09-04 14:20:40 +03:00