git.iko.soy/typeable/servant
on master help sign in
Merge pull request #588 from diekmann/patch-2
3d7a63eJulian Arni
doc/tutorial/ApiType.lhs+2−2
@@ -319,8 +319,8 @@ Which is used like so:
319
319
320``` haskell
320``` haskell
321type ProtectedAPI12
321type ProtectedAPI12
322− = UserAPI -- this is public
322+ = UserAPI -- this is public
323− :<|> BasicAuth "my-real" User :> UserAPI2 -- this is protected by auth
323+ :<|> BasicAuth "my-realm" User :> UserAPI2 -- this is protected by auth
324```
324```
325
325
326### Interoperability with `wai`: `Raw`
326### Interoperability with `wai`: `Raw`