v0.5.0
Breaking release!
- feat: add TLS support for servers(#31)
- refactor: rename methods and types for better distinction(#28)
Before | After |
---|---|
ClientExt::Params |
ClientExt::Call |
ClientExt::text(...) |
ClientExt::on_text(...) |
ClientExt::binary(...) |
ClientExt::on_binary(...) |
ClientExt::call(...) |
ClientExt::on_call(...) |
ClientExt::connected(...) |
ClientExt::on_connect(...) |
ClientExt::closed(...) |
ClientExt::closed(...) |
- | - |
ServerExt::Params |
ServerExt::Call |
ServerExt::accept(...) |
ServerExt::on_connect(...) |
ServerExt::disconnected(...) |
ServerExt::on_disconnect(...) |
ServerExt::call(...) |
ServerExt::on_call(...) |
- | - |
SessionExt::Params |
SessionExt::Call |
SessionExt::text(...) |
SessionExt::on_text(...) |
SessionExt::binary(...) |
SessionExt::on_binary(...) |
SessionExt::call(...) |
SessionExt::on_call(...) |
Additionally for the ezsockets::tungstenite::run_on
function you need to also pass an ezsockets::tungstenite::Acceptor
, if you don't use TLS, just pass ezsockets::tungstenite::Acceptor::Plain
.