This builds off #145 by adding an encryption_policy option to NetcodeServer and NetcodeClient. The TransportSocket trait reports its encryption policy, which is used when setting up netcode in the transports.
With this PR, WebTransport can be implemented at par with UDP-based netcode.
This builds off #145 by adding an
encryption_policy
option toNetcodeServer
andNetcodeClient
. TheTransportSocket
trait reports its encryption policy, which is used when setting up netcode in the transports.With this PR, WebTransport can be implemented at par with UDP-based netcode.