service

inline fun <R : ResponseInfo> Routing.service(instance: OspreyService.Instance, path: String, crossinline func: (OspreyService.Instance) -> ServiceResponse<R>)
inline fun <T : Any, R : ResponseInfo> Routing.service(instance: OspreyService.Instance, path: String, crossinline func: (OspreyService.Instance, T) -> ServiceResponse<R>)