This is also the first time I've heard about RESTCONF :) I've taken a look 
at the specification draft [1] and it turns out, that the RESTCONF 
notifications [2] are provided as W3C Serrver-Sent Events [3].
Akka HTTP is end-to-end stream based, so it would be easy enough to use it 
to implement RESTCONF protocol client (or server) directly, but here's a 
handy module provided by Heiko Seeberger [4] that implements SSE event 
streams on top of Akka HTTP.

cheers,
Rafał

[1] https://tools.ietf.org/html/draft-ietf-netconf-restconf-18
[2] https://tools.ietf.org/html/draft-ietf-netconf-restconf-18#section-6
[3] https://www.w3.org/TR/eventsource/
[4] https://github.com/hseeberger/akka-sse

W dniu wtorek, 27 grudnia 2016 07:18:39 UTC+1 użytkownik aarti napisał:
>
> I need to enable streaming capability on akka.http. which api of can be 
> used for that. is websocket can be used is there something else which can 
> support streaming.
>   
>
> On Monday, 26 December 2016 15:11:11 UTC+5:30, Konrad Malawski wrote:
>>
>> RESTCONF seems rather very technology specific... First time I see it 
>> mentioned to be honest.
>> What are you trying to achieve?
>>
>> -- 
>> Konrad Malawski
>>
>> On 26 December 2016 at 10:37:59, aarti ([email protected]) wrote:
>>
>>> Hi,  
>>> Can anyone guide me how can we enable RESTCONF streaming for events on 
>>> akka.http. What are steps, jars etc. will be required for the same.
>>>
>>> --
>>> >>>>>>>>>> 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