Impl a router and handlers #12
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The response logic is in the
HTTPResponse::from()associated function but it's ugly... To follow the web server design pattern, implement aRoutercalling the rightController(handle the response logic).Routermust route the request to the rightHandler:request.rsandresponse.rsRoutermay have is own module (interface between the http and handlers modules)