org.mashupbots.socko.routes
Matches HTTP requests with the same case-sensitive host.
For example, to match www.sockoweb.com, use:
www.sockoweb.com
val r = Routes({ case Host("www.sockoweb.com") => { ... } })
This will match www.sockoweb.com but not: www1.sockoweb.com, sockoweb.com or sockoweb.org
www1.sockoweb.com
sockoweb.com
sockoweb.org
Matches HTTP requests with the same case-sensitive host.
For example, to match
www.sockoweb.com, use:val r = Routes({ case Host("www.sockoweb.com") => { ... } })This will match
www.sockoweb.combut not:www1.sockoweb.com,sockoweb.comorsockoweb.org