我知道喷雾对我来说是这样的,但是我仍然想用我的标题覆盖它,我如何在响应中覆盖标题呢?我的回应如下: sender !value" }""" // here i want to specify also response header i would like to explicitly set it and not get
我正在尝试使用喷雾路由和弹性搜索(使用elastic4s)来编写一个rest,以提高我的scala级别。crudController = new CrudController() path("ads" / IntNumber) { id =>{
val something: Future[SearchRespo
$3$$anonfun$apply$6.apply(EventRouteTester.scala:44)
def actorRefFactory = system // connect the DSL to the test ActorSystem
getGet() ~> smallRoute ~> check {