diff --git a/config.toml b/config.toml index 5f25122..e815c7e 100644 --- a/config.toml +++ b/config.toml @@ -16,4 +16,4 @@ baseURL = "https://actix.rs" [params] actixVersion = "0.7" -actixWebVersion = "0.7" +actixWebVersion = "1.0" diff --git a/content/docs/getting-started.md b/content/docs/getting-started.md index b0833e6..50b6a34 100644 --- a/content/docs/getting-started.md +++ b/content/docs/getting-started.md @@ -27,6 +27,7 @@ actix-web = "{{< actix-version "actix-web" >}}" In order to implement a web server, we first need to create a request handler. + A request handler is a function that accepts an `HttpRequest` instance as its only parameter and returns a type that can be converted into `HttpResponse`: @@ -34,12 +35,12 @@ Filename: `src/main.rs` {{< include-example example="getting-started" section="setup" >}} +