Function code_request

Source
pub fn code_request(stream: TcpStream, program: &mut Program)
Expand description

All requests run through here

§Parameters

stream: Contains the http request, when it’s read from it modifies internal state, which is why it needs to be mut. Also contains a reference to the Program which lives for the lifetime of the server running. It retains information between requests