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
We currently have DecodeRequest and EncodeResponse type classes, which works well for creating servers. The needs of clients (see #228) are very similar, though, and introducing new DecodeResponse and EncodeRequest type classes would duplicate a lot of code.
Last night I started playing with more generic Encoder and Decoder type classes, and I think it's worth investigating whether that's a viable solution.
The text was updated successfully, but these errors were encountered:
We currently have
DecodeRequest
andEncodeResponse
type classes, which works well for creating servers. The needs of clients (see #228) are very similar, though, and introducing newDecodeResponse
andEncodeRequest
type classes would duplicate a lot of code.Last night I started playing with more generic
Encoder
andDecoder
type classes, and I think it's worth investigating whether that's a viable solution.The text was updated successfully, but these errors were encountered: