A Rust library for creating a protocol-agnostic request-response TCP server.
Go to file
Ben Bridle 70a63ae002 Remove multi-threaded code
The server is synchronous and single-threaded for now. The server
uses a RequestProcessor to process requests, which, unlike the
previous `fn(&Request) -> Response` server functions, can hold
state and use that state when processing requests.

In short, the server can now be used for real tasks. Multithreading
will be added back in for a future release, the current single-
-threaded code will not perform well under concurrent loads.
2022-08-25 21:47:16 +12:00
src Remove multi-threaded code 2022-08-25 21:47:16 +12:00
.gitignore wetstring works right now, uses fn(&Request) -> Response for server function 2022-08-22 16:53:26 +12:00
Cargo.lock wetstring works right now, uses fn(&Request) -> Response for server function 2022-08-22 16:53:26 +12:00
Cargo.toml Remove multi-threaded code 2022-08-25 21:47:16 +12:00