=doc add explanation about Route => Flow conversion
This commit is contained in:
parent
ab38c36cba
commit
f9b8125333
3 changed files with 14 additions and 2 deletions
|
|
@ -119,6 +119,7 @@ class HttpServerExampleSpec extends WordSpec with Matchers {
|
|||
}
|
||||
}
|
||||
|
||||
// `route` will be implicitly converted to `Flow` using `RouteResult.route2HandlerFlow`
|
||||
Http().bindAndHandle(route, "localhost", 8080)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue