Please search the docs for “websocket” it’s well documented. Short reply
since in meetings now ;-)

Glad you enjoyed the VJUG talk!

-- 
Konrad Malawski

On December 8, 2017 at 12:58:21, Thai ([email protected]) wrote:

> And how about the websocket?
>
> On Thursday, December 7, 2017 at 10:17:03 PM UTC-5, Konrad Malawski wrote:
>>
>> It’s pretty much as simple as using this directive:
>> https://doc.akka.io/docs/akka-http/current/scala/http/
>> routing-dsl/directives/file-and-resource-directives/getFromDirectory.html
>>
>> https://doc.akka.io/docs/akka-http/current/scala/http/
>> routing-dsl/directives/file-and-resource-directives/getFromResource.html
>> or it’s similar versions (explore the docs).
>>
>> For basics of building an app read:
>> http://developer.lightbend.com/guides/akka-http-quickstart-scala/
>>
>> happy hakking!
>>
>> --
>> Cheers,
>> Konrad 'ktoso <http://kto.so>' Malawski
>> Akka <http://akka.io/> @ Lightbend <http://lightbend.com/>
>>
>> On December 8, 2017 at 12:15:30, Thai ([email protected] <javascript:>)
>> wrote:
>>
>> Hi All,
>>
>> Is it easy to use akka-http to build a web app that can serve static
>> files (only 1 html file but it has many <script> and <style> pointing to
>> other static files on the server) and make a websocket connection to the
>> browser? If yes, is there any example on the Internet which I can follow?
>> By the way, I'm using the latest version of akka-http (10.0.11).
>>
>> Regards.
>> --
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
> >>>>>>>>>> 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.
>

-- 
>>>>>>>>>>      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.

Reply via email to