Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
swhitty committed Jul 13, 2024
1 parent 79448c9 commit e9ed132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ handler.appendRoute("GET /creature/:name?type=:beast") { (name: String, beast: B
}
```

`String`, `Int`, `Double`, `Bool` and any custom type that conforms to `HTTPRouteParameterValue` can be extracted.
`String`, `Int`, `Double`, `Bool` and any type that conforms to `HTTPRouteParameterValue` can be extracted.

## WebSockets
`HTTPResponse` can switch the connection to the [WebSocket](https://datatracker.ietf.org/doc/html/rfc6455) protocol by provding a `WSHandler` within the response payload.
Expand Down

0 comments on commit e9ed132

Please sign in to comment.