A Rust library for creating a protocol-agnostic request-response TCP server.
Go to file
Ben Bridle 1e83969ebd Give control of the partial request bytes to Request
Before, the partially constructed byte sequence for the request was held outside of the Request object, and each time the program tried to create a Request out of the byte sequence the entire sequence would need to be re-parsed. Now, a Request is constructed up-front, and bytes are periodically pushed to it. This enables the library user to parse more efficiently, by keeping partial parse results inside the Request object and only parsing bytes when they're new to the Request.
2021-08-07 15:05:48 +12:00
src Give control of the partial request bytes to Request 2021-08-07 15:05:48 +12:00
.gitignore Initial commit 2021-08-07 13:59:11 +12:00
Cargo.lock Initial commit 2021-08-07 13:59:11 +12:00
Cargo.toml Initial commit 2021-08-07 13:59:11 +12:00