Skip to content

withUri should be able to take either HTTPS or WSS for a secure connection #175

Open
@jdetter

Description

@jdetter

If you supply .withUri("https://maincloud.spacetimedb.com") instead of .withUri("wss://maincloud.spacetimedb.com") then you will get a ws:// connection instead of a wss:// connection. If the user supplies a https:// connection string we should automatically convert that to ws://. Both the C# and rust SDKs do this.

Discord thread: https://discord.com/channels/1037340874172014652/1362951793595650148/1362951793595650148

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions