You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 6, 2020. It is now read-only.
So I'm reading up more on CoAP, and the more I read the more I go "dayum girl, you hella fine!" As I was reading up on the CoRE link format, I came across this little gem:
The CoRE Link Format can be used by a server to register resources
with a resource directory or to allow a resource directory to poll
for resources. Resource registration can be achieved by having each
server POST their resources to "/.well-known/core" on the resource
directory. This, in turn, adds links to the resource directory under
an appropriate resource. These links can then be discovered by any
client by making a request to a resource directory lookup interface.
Well batman -- you might say -- what's the benefit to this? For one, we might not have a reference to web, instead we might just have a reference to the request function (as in the above example.) For another, it's a bit more dog-foody and as well, we could enable interesting things such as GET /.well-known/nap for resource discovery, traversal etc. I need to read up more on CoRE to understand things a bit better, but I kind of like this idea so dumping it here for further review and stuff.
The text was updated successfully, but these errors were encountered:
So I'm reading up more on CoAP, and the more I read the more I go "dayum girl, you hella fine!" As I was reading up on the CoRE link format, I came across this little gem:
Basically, instead of doing this:
We could do something like this:
Well batman -- you might say -- what's the benefit to this? For one, we might not have a reference to
web
, instead we might just have a reference to therequest
function (as in the above example.) For another, it's a bit more dog-foody and as well, we could enable interesting things such asGET /.well-known/nap
for resource discovery, traversal etc. I need to read up more on CoRE to understand things a bit better, but I kind of like this idea so dumping it here for further review and stuff.The text was updated successfully, but these errors were encountered: