Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko authored Jul 13, 2024
1 parent cc64c42 commit 216aed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ void requestLog(Request request)
info("Request: ", request.path);
}
```
> [!NOTE]
> Using `Fallthrough.Yes` as a return value for a endpoint allows you to avoid stopping the flow even if the output is touched.
## Websockets
> [!NOTE]
> Priority works in the same way as the HTTP endpoints: the first websocket endpoint that touches the connection will handle it

```d
// Accept a new connection only if the request path is "/echo"
Expand Down

0 comments on commit 216aed5

Please sign in to comment.