title: Akka-Http: How to use an Actor in a request?
body: <p>Based on this simple code for Akka-HTTP:</p>
  
  <pre><code>val route =
      pathPrefix("myapp") {
        path("search") {
          get {
            //ref ! DoSomething("foo")
            complete(HttpEntity(ContentTypes.`application/json`, /* content here from an actor */ ))
          }
        }
      }
  </code></pre>
  
  <p>How can I return a value from an Actor (<code>sender ! content</code>) ?</p>