You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.
The initial request can be made in connect() now. Probably add a new variable like self.connect_info = None and assign it to self.connect_info = apis.tinychat.get_connect_token(self.room_name) within the connect() and set the websocket address to self.connect_info['endpoint']. The actual token being self.connect_info['result']
https://github.com/odsum/TinyChatBot/blob/master/apis/tinychat.py#L22
This now returns the key
endpoint
for which the value is the websocket server needed to connect to inhttps://github.com/odsum/TinyChatBot/blob/master/pinylib.py#L130
The initial request can be made in
connect()
now. Probably add a new variable likeself.connect_info = None
and assign it toself.connect_info = apis.tinychat.get_connect_token(self.room_name)
within theconnect()
and set the websocket address toself.connect_info['endpoint']
. The actual token beingself.connect_info['result']
get_connect_token()
of course, only returningresponse['json']
now.The text was updated successfully, but these errors were encountered: