You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Response("A String Response")
data classStringResponse(valstr:String)
2. Register a parameter handler
@Path("string/{a}") // `@Path` works like the ktor Locations api `@Location`, if it is declared in a route, it will append the path to the one in the contextdata classStringParam(
@PathParam("A simple String Param", PathParamStyle.matrix) vala:String, // You can provide a parameter style hint
@QueryParam("Optional String") valoptional:String?// Nullable Types are optional
)