Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

[workaround] How to define the protocol in websocket in webGL

Discussion in 'Multiplayer' started by evergoo, Jan 17, 2018.

  1. evergoo

    evergoo

    Joined:
    Aug 3, 2017
    Posts:
    6
    Hi all,

    I small app that runs on a java websocket server on "echo-protocol". I have it in unity working on windows but now i want to get it running under webgl. Only the webgl implementation has standard not a protocol definition. So i get all the time the error : Error: Specified protocol was not requested by the client

    Has any one an idea how to specify the protocol ?
     
  2. evergoo

    evergoo

    Joined:
    Aug 3, 2017
    Posts:
    6
    Workaround, Just removed the protocol requirement and now it accepts all.
    from "echo-protocol" to ""
     
unityunity