-
- Downloads
dhtproxy: allow token refresh, set clientID (#6)
* add method to set the push token independently from other configuration, since the push token can be updated during runtime. * allow to provide a "clientID" to be sent in push notifications, used to demultiplex push notifications to multiple OpenDHT nodes running on the same host. For instance Ring uses the accountID as the clientID to know which account received the push notification. * use {"platform":"android"/"ios"} to communicate the platform instead of {"isAndroid":true/false}.
Showing
- include/opendht/dht.h 0 additions, 5 deletionsinclude/opendht/dht.h
- include/opendht/dht_interface.h 4 additions, 1 deletioninclude/opendht/dht_interface.h
- include/opendht/dht_proxy_client.h 14 additions, 7 deletionsinclude/opendht/dht_proxy_client.h
- include/opendht/dht_proxy_server.h 2 additions, 1 deletioninclude/opendht/dht_proxy_server.h
- include/opendht/dhtrunner.h 18 additions, 8 deletionsinclude/opendht/dhtrunner.h
- include/opendht/securedht.h 4 additions, 2 deletionsinclude/opendht/securedht.h
- src/dht_proxy_client.cpp 7 additions, 8 deletionssrc/dht_proxy_client.cpp
- src/dht_proxy_server.cpp 19 additions, 14 deletionssrc/dht_proxy_server.cpp
- src/dhtrunner.cpp 24 additions, 13 deletionssrc/dhtrunner.cpp
- tools/dhtnode.cpp 14 additions, 11 deletionstools/dhtnode.cpp
Loading
Please register or sign in to comment