Some APIs that were originally a part of the standard library have been removed in Haxe 4. To allow projects to transition from Haxe 3 more smoothly, the hx3compat library still provides these APIs. To use it, simply install it and compile the project with -L hx3compat.
The full list of APIs in hx3compat is:
haxe.remoting.* Haxe remotinghaxe.unit.* Unit testinghaxe.web.* Web request classes for Haxe web serversneko.net.* Neko web serverNote that some of these APIs were removed from the standard library in favour of solutions in external libraries: