All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dszopa.message_router.annotation.Route.kt Maven / Gradle / Ivy

Go to download

Improved Spark socket message handling, using frameworks like SocketIO for inspiration

There is a newer version: 1.2.0
Show newest version
package io.github.dszopa.message_router.annotation

// TODO: add support for route being a regex string
/**
 * A funtion-level annotation that specifies that the function should be ran when
 *  a socket request in JSON format with a "route" value matches the given value
 *  for the route annotation.
 */
@MustBeDocumented
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class Route(val value: String)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy