ControllerRequests module

class controllers.controller_requests.ControllerRequests(server, incoming_user)

Bases: threading.Thread

Class of thread responsible for handling incoming requests of the user

close_connection()None

Responsible for stop the thread and logout user

Returns

None

parse_request(request)None

Responsible for checking the request type and calling the appropriate method

Parameters

request – A Request object

Returns

None

run()None

Responsible for running the thread

Returns

None