You can use the elm websockets library, or ports.

On Wednesday, September 14, 2016 at 3:16:10 AM UTC-7, Erwan Queffélec wrote:
>
> Hi,
>
> I'm trying to find the cleanest possible way of subscribing and receiving 
> server side events (SSE) (
> http://www.html5rocks.com/en/tutorials/eventsource/basics/)
>
> So far I found this 
> https://stackoverflow.com/questions/35144530/how-to-capture-server-events-in-elm
>
> And this (code contributed by the SO answer author): 
> https://github.com/lukewestby/elm-http-event-source
>
> Is there any built-in way of doing this with elm yet ? Is that somewhere 
> on the roadmap ?
>
> Regards,
>
> Erwan
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to