org.mashupbots.socko.routes
Matches the host of EndPoints in SockoEvents using segment patterns.
For example, to match server1.sockoweb.com, use:
server1.sockoweb.com
val r = Routes({ case HostSegments(server :: "sockoweb" :: "com" :: Nil) => { // server will be set to server1 ... } })
Matches the host of EndPoints in SockoEvents using segment patterns.
For example, to match
server1.sockoweb.com, use: