protosocket 0.4.0

Message-oriented nonblocking tcp stream
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# protosocket
Tools for building message-oriented tcp streams.

A protosocket is a non-blocking, bidirectional, message streaming connection.
Providing a serializer and deserializer for your messages, you can stream to
and from tcp servers.

Protosockets avoid too many opinions - you have (get?) to choose your own
message ordering and concurrency semantics. You can make an implicitly ordered
stream, or a non-blocking out-of-order stream.

Tools to facilitate protocol buffers over tcp are provided in [`protosocket-prost`](./protosocket-prost/).
You can see the protocol buffers example in [`example-proto`](./example-proto/).

Currently the tools are pretty low-level, and there's room for higher level
wrappers that establish, for example, request and response in an async function.