Closed aqilc closed 4 years ago
I'm getting rid of this completely from the Streams
API in the current pull request that I'm making.
Im all for passing reconnection onto the client user.
what do you mean?
Sorry, i was cleaning up the stream class xd
so uh, big mistake of me forgetting authentication. I'm trying to figure out how to fix.
Sorry again that im not able to merge or review these yet. On a long drive today.
Ohhhh, thats kewl. Have fun :D
I don't even know if you'll be able to use this but I started the documentation kind of.
I think this deserves a big version upgrade called 0.2.0
if you do use any of this.
I don't even know why I am working so much on this, but part of it's definitely that I will have to use this in the future to make bots and I would rather have it be extremely smooth and user-friendly.
@117 How did you authenticate users before? I don't spot anything special or anything valid.
Sends an ‘authentication’ message to the websocket server with key and secret.
How did you get it before? I didn't spot any Client parameter or key option.
Sorry for the late response, I took a shower and did some chores xd
How did you get it before? I didn't spot any Client parameter or key option.
The client is passed in the Stream constructor.
oh
I don't get why this error is happening: Do you happen to have any clue? I am not assigning the connection to anything else anywhere.
Ok, fixed it... everything should be done now :D
Fixed in a new commit, so this should be closed.
I am very sure these options only add clutter to the class. Anyone can just put a listener on the
close
event and just re-initialize anyways, so there is literally no point. I would like to see a use case if otherwise.