xpenatan / gdx-teavm

Run Libgdx in a webbrowser with teavm
Apache License 2.0
108 stars 16 forks source link

TeaNet: HTTP Requests & Opening Links #70

Closed noblemaster closed 1 year ago

noblemaster commented 1 year ago

Implemented TeaNet which supports (1) HTTP requests and (2) opening links. Streaming sockets is not available via JavaScript. One could probably use web sockets, but they don't match the streaming sockets interface and behave technically slightly different.

Please note, only textual data is supported via HTTP requests. Binary might be possible, but I believe it's rather a hack. Sending textual data works fine. The GWT backend also supports textual data only.