Closed UkoeHB closed 9 months ago
Since connect token contents are pub(crate), it isn't possible to validate the protocol id of a connect token on the client side, nor to use the token's server addresses to tailor your client socket to ipv4/ipv6.
pub(crate)
Make the contents of ConnectToken pub.
pub
Fixed by #116
Problem
Since connect token contents are
pub(crate)
, it isn't possible to validate the protocol id of a connect token on the client side, nor to use the token's server addresses to tailor your client socket to ipv4/ipv6.Solution
Make the contents of ConnectToken
pub
.