Module server::request

source ·
Expand description

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

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

Structs

  • 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

  • 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.