Skip to content

Way to understand if message error comes from device #1852

Answered by thjaeckle
dimabarbul asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dimabarbul

So, my question is: is checking for presence of "ditto-connection-id" header correct way to understand that response came from device (through Ditto connection)?

Yes, this should work well ..
This header should be absent for all Ditto created "errors".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dimabarbul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants