Dan
Dan
It would be nice to have type-safe routes that only match if the provided formatter can parse the param. e.g. This would be cool: ``` kotlin val router = Router...
**Note**: *Need more use-case ideas before actually implementing this.* Prefix mounting matches `request.path`s that start with a given prefix, except that the prefix is then removed from the `request.path` before...
**TODO:** This should go in the wiki but I've disabled the wiki for now. A list of git commits that I think will be useful to future me, like large...
- https://github.com/Kotlin/kotlin-fullstack-sample - https://blog.jetbrains.com/kotlin/2017/04/use-kotlin-with-npm-webpack-and-react/
Since a `ResponseBody.Writer` is piped to the jetty response object after the kog response is returned from the handler, if the writer throws an error, then kog (e.g. the user's...
Right now, returning `Response.websocket("/foo/bar", wshandler)` from a handler will add the `"/foo/bar" -> wshandler` mapping to Jetty's context mappings, so it must be a static path. So, to mount a...
``` kotlin val router = Router { use(middleware1()) // ... A routes ... use(middleware2()) // ... B routes ... use(middleware3()) } ``` - `middleware1` touches every request. - `middleware2` touches...
Right now, route parameter wildcards must span the entire path segment: /assets/ But it'd be nicer if wildcards didn't have to: /assets/.txt
Right now, if `notModified(etag = true)` middleware is applied and the body is a `ResponseBody.Writer`, kog realizes the lazy writer into a bytearray to generate an etag. For instance, a...