You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we can have higher level protocol stuff (marshaling, unmarshaling etc.) in one place. Currently serialization is in Sender and deserialization is in Middleware.
We can have a jsonrpc.Conn which implements neptulon.Conn and feed it to the neptulon.Client which is used by the jsonrpc.Client.
On the other hand, we can rename neptulon.Conn and jsonrpc.Sender both to Protocol as they are nothing more than implementations of the underlying communication protocols.
The text was updated successfully, but these errors were encountered:
So we can have higher level protocol stuff (marshaling, unmarshaling etc.) in one place. Currently serialization is in
Sender
and deserialization is inMiddleware
.We can have a
jsonrpc.Conn
which implementsneptulon.Conn
and feed it to theneptulon.Client
which is used by thejsonrpc.Client
.On the other hand, we can rename
neptulon.Conn
andjsonrpc.Sender
both toProtocol
as they are nothing more than implementations of the underlying communication protocols.The text was updated successfully, but these errors were encountered: