Closed ojii closed 7 years ago
Moved main connect API from aapns.connection to aapns.api, if imported from aapns directly this should not require any changes.
connect
aapns.connection
aapns.api
aapns
aapns.api.connect now takes two new optional keyword-only arguments:
aapns.api.connect
auto_reconnect
False
timeout
None
Moved main
connect
API fromaapns.connection
toaapns.api
, if imported fromaapns
directly this should not require any changes.aapns.api.connect
now takes two new optional keyword-only arguments:auto_reconnect
, defaults toFalse
, to enable automatic reconnectingtimeout
, defaults toNone
, if set to integer sets timeout for connections and requests.