I'm trying to connect an iOS app developed in Swift to the socket implementation in OctoPrint. This is new to me. So, I'm struggling a bit with how to get connected.
First, I'm using this library: https://github.com/tidwall/SwiftWebSocket
I'm trying to simply figure out where to connect to the server - the address. (Baby steps here.) I've tried the following:
wss://octopi.local:8081 -> I thought this was the default location
And, then I found a specific directory that it might be located within and I tried that:
I'm expecting that the next thing that I will need to do is pass an API key, but I'm just wanting to get an authentication error at this point!
Please let me know if my approach is even correct and what the correct address would be. Again, this is the first time I've really dealt with web sockets. Thanks!