Ghamza-Jd / jarust

A janus client SDK in Rust 🦀
Apache License 2.0
8 stars 3 forks source link

Abstract Janus Transport #115

Closed Ghamza-Jd closed 1 month ago

Ghamza-Jd commented 3 months ago

Current we have an abstract transport, which abstract the network transport and have a very generic functionality like send

Here we want to abstract the janus specific transport, so for example we can decorate the message on the transport rather than on the connection. Also, this will help in decoupling the JaSession and JaHandle from JaConnection. And the transaction generation can be their, so JaConnection can have a single responsibility.

Ghamza-Jd commented 3 months ago

First step, moved implementation to JaTransport #116