NZSmartie / CoAP.Net

Constrained Applciaiton Protocol (CoAP) [RFC7252] for .Net Standard
https://nzsmartie.co.nz/CoAP.Net/
Apache License 2.0
34 stars 11 forks source link

add connection information to resource handler #19

Closed patagonaa closed 4 years ago

patagonaa commented 4 years ago

this gives a resource the ability to get the connection information. This includes the local and remote endpoint (fixes #16)

this is also important when doing transport layer security with authentication where you could add info of the authenticated user to the connection info.

NZSmartie commented 4 years ago

Hey, thank you for the PR! It's nice to see people still using it