Expand description
memsocket provides a asynchronous socket-like interface for connecting clients and servers in-memory.
The bounded
and unbounded
methods (analogous to bounded and unbounded
Channels)
return a pair of objects, both of which are
AsyncRead
and
AsyncWrite
.
Data written to one can be read from the other, and vice versa,
thus emulating a socket interface.
Structs§
Functions§
Type Aliases§
- Socket
Deprecated