Transport¶
taco.transport¶
- class taco.transport.TacoTransport(in_, out, from_obj=None, to_obj=None)¶
Taco transport class.
Implements the communication between Taco clients and servers.
- read()¶
Read a message from the input stream.
The decoded message is returned as a data structure, or None is returned if nothing was read.
- write(message)¶
Write a message to the output stream.