Module messages_handlers

Module messages_handlers 

Source
Expand description

It contains the types that the RpcServer and RpcClient use to handle messages (requests and reponses).

Also, it contains the type StreamsHandler to handle streams. This type is used by both because they both receive and return StreamMessages

Structs§

ServerMessagesHandler
It’s in charge of handling every request that the client sends
StreamsHandler
In charge of handling the acknowledge listeners for Stream Messages so that it knows that it has to send the next StreamMessage