lucaspoffo / renet

Server/Client network library for multiplayer games with authentication and connection management made with Rust
Apache License 2.0
620 stars 65 forks source link

Add encryption policy option to renetcode #149

Closed UkoeHB closed 2 months ago

UkoeHB commented 4 months ago

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.

UkoeHB commented 2 months ago

Closing this as implemented in renet2.