Expand description
§use server::request::{ RequestObject, handle_connection }
A library that hanldes requests made to the web-server.
Structs§
- Request
Object - The requests made to the web-server are represented in the data structure
RequestObjectThe only supported request method on the server isGET
Functions§
- handle_
connection - Function that handles a request stream.
The request is processed based on the method and route.
The route determines the file path for a
GETrequest.