Skip to content

Rework realtime client #53

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

Merged
merged 2 commits into from
Dec 30, 2022
Merged

Rework realtime client #53

merged 2 commits into from
Dec 30, 2022

Conversation

stmn
Copy link

@stmn stmn commented Dec 29, 2022

I reworked Realtime Client basing on that code:

https://github.com/godotengine/godot-demo-projects/blob/4.0-dev/networking/websocket_chat/websocket/WebSocketClient.gd

Reason: Currently Realtime Client is not usable at all (WebSocketPeer need to be handled differently than WebSocketClient from 3.x). After changes it looks somehow usable.

@fenix-hub
Copy link
Collaborator

Thanks, looks good to me for now.
Check the review and I'm ready with merging.

Copy link
Collaborator

@fenix-hub fenix-hub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add static typing?

@stmn
Copy link
Author

stmn commented Dec 30, 2022

Could you add static typing?

Sure, added. I will test realtime feature more soon (probably) while making some game lobby mechanism or simple game.

@stmn stmn requested a review from fenix-hub December 30, 2022 12:51
@fenix-hub
Copy link
Collaborator

Thanks!

@fenix-hub fenix-hub merged commit f6d1f3d into supabase-community:4.x Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants