Minor rewording in Server tutorial
Fixed an awkward wording in the Server tutorial.
This commit is contained in:
parent
858fb6cce5
commit
9f8127ed54
1 changed files with 2 additions and 2 deletions
|
@ -313,8 +313,8 @@ For reference, here's a list of some combinators from **servant**:
|
||||||
## The `FromHttpApiData`/`ToHttpApiData` classes
|
## The `FromHttpApiData`/`ToHttpApiData` classes
|
||||||
|
|
||||||
Wait... How does **servant** know how to decode the `Int`s from the URL? Or how
|
Wait... How does **servant** know how to decode the `Int`s from the URL? Or how
|
||||||
to decode a `ClientInfo` value from the request body? This is what this and the
|
to decode a `ClientInfo` value from the request body? The following three sections will
|
||||||
following two sections address.
|
help us answer these questions.
|
||||||
|
|
||||||
`Capture`s and `QueryParam`s are represented by some textual value in URLs.
|
`Capture`s and `QueryParam`s are represented by some textual value in URLs.
|
||||||
`Header`s are similarly represented by a pair of a header name and a
|
`Header`s are similarly represented by a pair of a header name and a
|
||||||
|
|
Loading…
Reference in a new issue