I am stuck with creating downchannel stream which is designed to remain open in a half-closed state from the client and open from AVS for prolonged periods of time.
It receives JSON response from ALEXA API without making a request since it is open all the time in a half-closed state.
Currently I am making a GET request using libcurl that shuts down as a 1 way process
Sample Request
:method = GET
:scheme = https
:path = /{{API version}}/directives
authorization = Bearer {{YOUR_ACCESS_TOKEN}}
I want to know how to keep connection on in a half-closed state using libcurl so that it gives response without making requests.
I am not expecting any code just a way to do so will do.