id summary reporter owner description type status priority milestone component resolution keywords cc phab_field 5321 Object-oriented JS networking interface elexis "Currently all functions in `JSInterface_Networking.cpp` refer to a singleton g_NetServer / g_NetClient instance. But it would be more structured to have JS decide the instance of the NetClient / NetServer and call networking functions as properties of a JS object, similar to GUI functions exposed to JS also being exposed per-object. Beyond separation of concerns and removing globals in C++, it would also allow JS to handle multiple servers or clients within the same application instance." enhancement new Nice to Have Backlog Network