brson / brson/httptest

Router has now been edited to take three parameters

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
326
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I was linked to this tutorial from [this YouTube video](https://www.youtube.com/watch?v=Sr5QcYyGrCo). It was great to follow along!

One thing that went wrong, however, are the Routing commands. It seems that newer versions of the `router` crate require `router.get`, `router.post` etc. to be used with [three parameters](https://docs.rs/router/0.5.1/router/), the third one being a symbolic name to refer to the route to later (such as in when using `router::url_for`).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.