question

HitingaMark avatar image
HitingaMark asked ·

Downchannel not send push_promise frame

I establish connection with libcurl. After send sync and audio(set alarm) data to the avs, the setAlarm directive responded directly to the get request https://avs-alexa-na.amazon.com/v20160207/directives. There is no push_promise received.

alexa voice service
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Eric@Amazon avatar image
Eric@Amazon answered ·

The v20160207 API does not actually use HTTP/2 server push features. Instead, it uses long polling along a GET request to /v20160207/directives.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.