lukepighetti / mastodon_dart

Unofficial 🐘 client written in 🎯
https://pub.dev/packages/mastodon_dart
MIT License
28 stars 8 forks source link

Use WSS on HTTPS instances #71

Closed SkywaveTM closed 1 year ago

SkywaveTM commented 1 year ago

Browsers require wss:// connections instead of ws:// on HTTPS websites. Although it does not a problem in local development environments, ws:// connections are blocked in web flutter applications being served in HTTPS.

Also, mastodon API docs use wss:// over ws:// in the example.