Expand description
Select methods (with rust-native parameter and return value types) from the emscripten websocket.h header file, and helper types for them.
For this module’s functions to work, the -lwebsocket flag needs to be passed to the linker by your application.
This can be accomplished e.g. by adding println!("cargo:rustc-link-arg=-lwebsocket"); to the main function in build.rs.