Skip to main content

Module memory

Module memory 

Source
Expand description

A relay and its connections in one process, for tests: the same rooms as the relay program (crate::rooms), and connections that send and poll like a WebSocket Connection. Every message is encoded and decoded on the way, as on a socket.

Structs§

MemoryConnection
A game’s connection to a MemoryRelay.
MemoryRelay
A relay in this process.