-
Notifications
You must be signed in to change notification settings - Fork 13
TypeScript SDK: Remove use of ?connection_id
query param to subscribe
HTTP route
#142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Example chat server code for typescript doesn't work when you set the spacetimedb port to something other than 3000 (13000 in my case because I already have stuff that runs by default on 3000). Gives a 404 and the client can't connect.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the SDK generates its
ConnectionId
locally, and passes it to thesubscribe
HTTP route. This is wrong; the server should (and would, given the opportunity) generate a uniqueConnectionId
for the connection and return it to the client. Rework the TypeScript client SDK to that effect.DoD: When running a TypeScript client, the host logs do not contain any lines like:
The text was updated successfully, but these errors were encountered: