godot/modules
Fabio Alessandrelli a8950f98dd [WebSocket] Refactor websocket module.
This commit is a huge refactor of the websocket module.
The module is really old, and some design choices had to be
re-evaluated.

The WebSocketClient and WebSocketServer classes are now gone, and
WebSocketPeer can act as either client or server.
The WebSocketMultiplayerPeer class is no longer abstract, and implements
the Multiplayer API on top of the lower level WebSocketPeer.

WebSocketPeer is now a "raw" peer, like StreamPeerTCP and StreamPeerTLS,
so it emits no signal, and just needs polling to update its internal
state.

To use it as a client, simply call WebSocketPeer.coonect_to_url, then
frequently poll the peer until STATE_OPEN is reached and then you can
write or read from it, or STATE_CLOSED and then you can check the
disconnect code and reason).

To implement a server instead, a TCPServer must be created, and the
accepted connections needs to be provided to
WebSocketPeer.accept_stream (which will perform the HTTP handshake).

A full example of a WebSocketServer using TLS will be provided in the
demo repository.
2022-10-11 15:52:30 +02:00
..
basis_universal SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
bmp [Core] Make ImageFormatLoader extensible. 2022-09-20 02:01:57 +02:00
camera Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
csg Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
cvtt SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
dds Add static methods for creating Image and ImageTexture 2022-07-08 13:40:47 +02:00
denoise SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
enet Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
etcpak SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
freetype SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
gdscript Fix more MSVC C4702 (unreachable code) warnings 2022-10-07 14:43:59 +02:00
glslang Adding Variable Rate Shading support to Godot 2022-07-17 15:42:24 +10:00
gltf SCons: Re-enable treating `#warning` as error with `werror` 2022-10-10 16:12:26 +02:00
gridmap Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
hdr [Core] Make ImageFormatLoader extensible. 2022-09-20 02:01:57 +02:00
jpg [Core] Make ImageFormatLoader extensible. 2022-09-20 02:01:57 +02:00
jsonrpc Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
lightmapper_rd Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
mbedtls [Net] Rename "ssl" references to "tls" in methods and members. 2022-09-08 03:24:23 +02:00
meshoptimizer Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
minimp3 Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
mobile_vr Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
mono Use `JSON::stringify` where possible 2022-10-11 00:27:23 +02:00
msdfgen [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
multiplayer Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
navigation Fix crash in navigation 3d when target is not reachable 2022-10-02 13:18:33 -06:00
noise Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
ogg Change Array arguments to TypedArray 2022-09-01 13:13:19 +02:00
openxr Cleanup a bunch of debug messages in OpenXR and change the ones we want to keep to print_verbose 2022-10-10 20:19:18 +11:00
raycast Fix MSVC warnings C4324, C4389, C4456, and C4459 2022-09-28 16:43:09 +02:00
regex SCons: Fix MSVC warning LNK4042 about dupe objects in regex 2022-09-27 13:45:16 +02:00
squish
svg [Core] Make ImageFormatLoader extensible. 2022-09-20 02:01:57 +02:00
text_server_adv Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
text_server_fb [TextServer GDExtension] Update build scripts and `.gdextension` files to use new target names and arch suffixes. 2022-10-05 11:41:03 +03:00
tga Merge pull request #65717 from Ithamar/feat-tga-16bits 2022-09-26 08:23:11 +02:00
theora Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
tinyexr SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
upnp Update UPnP documentation 2022-08-28 19:09:19 +02:00
vhacd
vorbis Fix typos with codespell 2022-09-30 14:23:36 +02:00
webp [Core] Make ImageFormatLoader extensible. 2022-09-20 02:01:57 +02:00
webrtc [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00
websocket [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00
webxr Rename Projection `matrix` to `columns` 2022-10-04 12:34:19 -05:00
xatlas_unwrap SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
SCsub
modules_builders.py
register_module_types.h