[akka-user] Re: akka-http web socket issue

2016-07-06 Thread Eric Swenson
I wrote a simple python client: $ cat ws-test.py import os from websocket import create_connection eiid=os.getenv("EIID") token=os.getenv("BEARER_TOKEN") header="Authorization: Bearer %s" % token ws = create_connection("ws://localhost:9000/ws-connect/%s" % eiid, header=[header]) while True:

Re: [akka-user] List of defined rest api's in akka-http based application

2016-07-06 Thread Rafał Krzewski
Please note that route definitions may contain arbitrary code including calling methods that produce route fragments. The only way to introspect the definitions is by using macros, but still I don't think it's possible to do correctly it in all cases. Cheers, Rafał W dniu środa, 6 lipca 2016

[akka-user] akka-http web socket issue

2016-07-06 Thread Eric Swenson
I have a web service, implemented in akka-http, to which I’ve added web socket support. I have an akka-http client that is able to connect to the service and receive a single message, thereupon the web socket is, for some reason, disconnected. I do not understand why it becomes disconnected.

Re: [akka-user] Re: Directive to handle Future

2016-07-06 Thread Maatary Okouya
Oh thanks On Wed, Jul 6, 2016 at 3:33 PM, wrote: > > http://doc.akka.io/docs/akka/2.4.7/scala/http/routing-dsl/directives/future-directives/onComplete.html#oncomplete > > > Em quarta-feira, 6 de julho de 2016 16:23:18 UTC-3, Maatary Okouya > escreveu: >> >> >> Hi,

[akka-user] Re: Directive to handle Future

2016-07-06 Thread matheuslima
http://doc.akka.io/docs/akka/2.4.7/scala/http/routing-dsl/directives/future-directives/onComplete.html#oncomplete Em quarta-feira, 6 de julho de 2016 16:23:18 UTC-3, Maatary Okouya escreveu: > > > Hi, > > instead of > > >1. val route = >2. path("hello") { >3. get { >4.

[akka-user] Directive to handle Future

2016-07-06 Thread Maatary Okouya
Hi, instead of 1. val route = 2. path("hello") { 3. get { 4. complete(HttpEntity(ContentTypes.`text/html(UTF-8)`, "Say hello to akka-http")) 5. } 6. } I would like a directive to which i can pass a future. I need to call another service compute some value and then

Re: [akka-user] Re: [ANNOUNCE] Announcing the new Akka Team Blog (Let it Crash!)

2016-07-06 Thread Konrad Malawski
I added some rel links, that's likely it. Thanks for rasing the issue :) On Jul 6, 2016 19:59, "Andrew Gaydenko" wrote: > Thanks! > At that moment for some reason Firefox hasn't found the refs. Now it does. > Sorry for noise. > > -- > >> Read the docs:

[akka-user] Re: [ANNOUNCE] Announcing the new Akka Team Blog (Let it Crash!)

2016-07-06 Thread Andrew Gaydenko
Thanks! At that moment for some reason Firefox hasn't found the refs. Now it does. Sorry for noise. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives:

[akka-user] Re: [ANNOUNCE] Announcing the new Akka Team Blog (Let it Crash!)

2016-07-06 Thread konrad
There is RSS / Atom. Usually if you point an RSS reader to such page it just figures it out. RSS: http://blog.akka.io/rss Atom: http://blog.akka.io/atom.xml I'll add some icons for it -- Konrad On Wednesday, July 6, 2016 at 2:08:02 PM UTC+2, Konrad Malawski wrote: > > Dear hakkers, > We're

[akka-user] Re: [ANNOUNCE] Announcing the new Akka Team Blog (Let it Crash!)

2016-07-06 Thread Andrew Gaydenko
Great! Any chance for RSS? -- >> 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

[akka-user] [ANNOUNCE] Announcing the new Akka Team Blog (Let it Crash!)

2016-07-06 Thread Konrad Malawski
Dear hakkers, We're very excited to be able to introduce the new and fresh Akka Team Blog! It's available here: blog.akka.io And we've already kick started it with 2 posts: - An Akka Community Update (July 2016) in which