-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding options to responses #20
Comments
Hmm. I don't think this is possible with the current implementation. |
Thanks for the quick reply :) |
For background, this is part of the CoAP spec (and necessary to implement OMA LwM2M):
|
I could implement it if you help me with the analysis. I haven't worked with CoAP for few years, so I forgot almost everything. |
Sure, I'm just getting familiar with CoAP but I'll try :).
To me it seems more reasonable that it's in the message only, given that
Probably the latter, it's still up to the user/server to define semantics. |
I'm having a hard time figuring out how to add options to responses within the resource callbacks. Such as Location-Path/Location-Query in a response to a POST that creates a resource.
I'm looking at adding options as parameters to the callback methods but wondering if I'm missing something.
The text was updated successfully, but these errors were encountered: