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

CoapResource knowing the RemoteEndpoint #16

Closed Lybecker closed 4 years ago

Lybecker commented 6 years ago

I have a requirement where I need to server to know the origin of the request - the RemoteEndpoint.

The ICoapConnectionInformation is not forwarded from CoapResourceHandler.HandleRequestAsync method to the CoapResource. I guess it would be a nicer solution if the ICoapConnectionInformation was forward as part of the CoapMessage.

Lybecker commented 6 years ago

Any suggestion on how to implement this? Then I can give it a go?