lol.http
The h interpolation creates HttpString values. You can use it as a matcher too.
h
val header = h"LOCATION" header match { case h"Location" => println("this is the Location header") case _ => println("wrong header") }
(Since version ) see corresponding Javadoc for more information.
The
h
interpolation creates HttpString values. You can use it as a matcher too.