This endpoint handles the request after validation has occurred Takes in the express request object and returns a response There's a context object wuth type, id, path and permissions The id refers to user Id, path refers to the procedure, The permissions refer to the user's permissions as specified in IPermission interface
The payload request
A response with generic type U as especified in the endpoint
Optional
onThis function is called when the socket is connected, disconnected or message received
The socket id
The status of the socket
Optional
data: anyThe data received
This function handles request data validation
Endpoint class Handler interface