Module request

Module request 

Source
Expand description

§use server::request::{ RequestObject, handle_connection }

A library that hanldes requests made to the web-server.

Structs§

RequestObject
The requests made to the web-server are represented in the data structure RequestObject The only supported request method on the server is GET

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 GET request.