From e475c8f324029dde02d45015dde4eb4699821994 Mon Sep 17 00:00:00 2001 From: liuliu <44393673+liuliuOD@users.noreply.github.com> Date: Mon, 27 Mar 2023 23:07:11 +0800 Subject: [PATCH] doc: add usage into README.md file in basics/error-handling folder (#613) --- basics/error-handling/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/basics/error-handling/README.md b/basics/error-handling/README.md index 67485c81..1f399a77 100644 --- a/basics/error-handling/README.md +++ b/basics/error-handling/README.md @@ -1 +1,15 @@ This project illustrates custom error propagation through futures in Actix Web. + +## Usage + +### server + +```sh +cd basics/error-handling +cargo run +# starting HTTP server at http://localhost:8080 +``` + +### web client + +- [http://localhost:8080/something](http://localhost:8080/something)