synchronous-server 0.1.4

Low level synchronous server
Documentation

synchronous-server

License

This is a Rust crate called synchronous-server, designed to provide reliable and efficient access services for your well-needed use cases. Our crate is built with synchronous communication in mind, ensuring that all requests are handled sequentially and without any asynchronous overhead.

Features

  • Synchronous communication for reliable and predictable behavior
  • Built-in support for common HTTP methods (GET, POST, PUT, DELETE)
  • Customizable request and response handling logic
  • Middleware support for adding functionality to requests and responses

Getting Started

To use this crate, you'll need Rust and Cargo installed. Then, follow these steps:

  1. Install synchronous-server:
cargo add synchronous-server
  1. Import the crate in your Rust module:
use synchronous_server::listen;
  1. Create a new Server instance with the desired middleware and request/response handlers: