colyseus / colyseus-unity-sdk

⚔ Colyseus Multiplayer SDK for Unity
https://docs.colyseus.io/getting-started/unity-sdk/
MIT License
371 stars 100 forks source link

Allow use of path appended to server address #184

Closed LS-Erik closed 2 years ago

LS-Erik commented 2 years ago

Implemented fix to allow the use of an additional path appended to the host of the server address. The path included in the server address is now included in the websocket and web request endpoints.

endel commented 2 years ago

Thanks @LS-Erik, I've made some small changes and added a test file to make sure the common scenarios are working as expected

https://github.com/colyseus/colyseus-unity3d/blob/c7c55bada0ea34c22a368212d68df86a2728f1bd/Assets/Colyseus/Tests/Editor/ColyseusTests/ColyseusRequestTest.cs#L19-L78