Hi, these internal tests basically use it:
https://github.com/akka/akka-http/blob/master/akka-http-core/src/test/scala/akka/http/impl/engine/server/HttpServerSpec.scala See https://github.com/akka/akka-http/blob/master/akka-http-core/src/test/scala/akka/http/impl/engine/server/HttpServerTestSetupBase.scala for the actual code. Instead of using `HttpServerBlueprint.apply`, you could use `Http().serverLayer`. Johannes On Wednesday, February 15, 2017 at 8:42:43 PM UTC+1, [email protected] wrote: > > > http://doc.akka.io/docs/akka/2.4.11/scala/http/low-level-server-side-api.html#Stand-Alone_HTTP_Layer_Usage > > says "While in most applications this "feature" will not be crucial it > can be useful in certain cases to be able to "run" the HTTP layer (and, > potentially, higher-layers) against data that do not come from the network > but rather some other source. " Does anyone have any examples of this > working, specifically for testing? Thanks much! > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
