Expand description
The LSL protocol state machines.
This crate holds no input and no output. It takes bytes and events, and it
returns bytes and decisions. Every rule comes from SPEC.md, which cites
the pinned oracle.
The layering matters. liblsl parses a request inside a socket completion
handler (src/tcp_server.cpp:495-500), so a test of that parser needs a
network. Here a test calls a function with a byte slice.
§Modules
Re-exports§
pub use header::Error;pub use header::Headers;pub use header::StatusAction;pub use header::StatusLine;pub use negotiate::negotiate;pub use negotiate::Accepted;pub use negotiate::FeedRequest;pub use negotiate::Outcome;pub use negotiate::ServerStream;