Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Is there support for HTTP Networking?

Discussion in 'Project Tiny' started by SnipersCode, Dec 8, 2018.

  1. SnipersCode

    SnipersCode

    Joined:
    Jul 28, 2014
    Posts:
    3
    What is the current support for networking using Project Tiny and what is the plan for the future?
    Is there a best practice for reading a HTTP GET request or opening a websocket and integrating it into an ECS system?

    Looking at the Compatibility Cheat Sheet, there is no support for the current HLAPI and LLAPI objects.
    With the deprecation of UNET, will Project Tiny also require use of the Connected Games API?

    If you cannot use HLAPI, LLAPI, or the Connected Games API to make web requests, will the future plans even out of preview to offload all networking to javascript/typescript for rest or websocket calls and use javascript plugins to communicate with the Project Tiny code just like "traditional" WebGL deployments?

    In the current preview build, can we safely use javascript websocket libraries like socket.io/ws/sockjs in a ECS system?

    There doesn't seem to be even a simple example of making a HTTP get request or an example on how to integrate external javascript libraries.
     
    Diablo404 likes this.
  2. Diablo404

    Diablo404

    Joined:
    Mar 15, 2013
    Posts:
    135
    We're on the same boat, any answer on this one would be great.
     
    Last edited: Dec 8, 2018
  3. etienne_unity

    etienne_unity

    Unity Technologies

    Joined:
    Aug 31, 2017
    Posts:
    54
  4. Diablo404

    Diablo404

    Joined:
    Mar 15, 2013
    Posts:
    135
    Thanks, I'll dig into this.
     
  5. TatsumiGin

    TatsumiGin

    Joined:
    Jul 3, 2017
    Posts:
    1
    Hi, regarding this. Is websocket implemented in the new c# version of project tiny and is there any example for this.