This convenience factory for creating wrapping middleware with the basic
message processing and parsing for the server middleware.
In the forward path, it will transform the binary stream into the validated
JsonRPCMessages and pipe it through the provided middleware.
The reverse path will pipe the output stream through the provided middleware
and then transform it back to a binary stream.
This convenience factory for creating wrapping middleware with the basic message processing and parsing for the server middleware. In the forward path, it will transform the binary stream into the validated JsonRPCMessages and pipe it through the provided middleware. The reverse path will pipe the output stream through the provided middleware and then transform it back to a binary stream.