security-union / sec-http3

MIT License
14 stars 0 forks source link

add Send trait to WebTransportSession #6

Closed darioalessandro closed 1 year ago

darioalessandro commented 1 year ago

In this pull request, I have made changes to ensure the WebTransportSession struct in our codebase is Send. The Send trait indicates that an object of this type is safe to move to another thread.

The changes include the addition of the Send trait constraint on the generic parameters C and B of WebTransportSession. This means that any types used as C or B must now also implement Send.