Add missing KDoc comments
This commit is contained in:
parent
67c8d3753b
commit
8494c7a75a
|
|
@ -395,6 +395,9 @@ open class CoRouterFunctionDsl(private val init: (CoRouterFunctionDsl.() -> Unit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return a composed routing function created from all the registered routes.
|
||||||
|
*/
|
||||||
override fun invoke(): RouterFunction<ServerResponse> {
|
override fun invoke(): RouterFunction<ServerResponse> {
|
||||||
init()
|
init()
|
||||||
return builder.build()
|
return builder.build()
|
||||||
|
|
@ -475,6 +478,9 @@ open class CoRouterFunctionDsl(private val init: (CoRouterFunctionDsl.() -> Unit
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Equivalent to [RouterFunction.and].
|
||||||
|
*/
|
||||||
operator fun <T: ServerResponse> RouterFunction<T>.plus(other: RouterFunction<T>) =
|
operator fun <T: ServerResponse> RouterFunction<T>.plus(other: RouterFunction<T>) =
|
||||||
this.and(other)
|
this.and(other)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue