coapjs / node-coap

CoAP - Node.js style
MIT License
528 stars 154 forks source link

feat(server): add Size2 logic #351

Closed JKRhb closed 1 year ago

JKRhb commented 1 year ago

As a follow-up to #348, this PR adds support for the Size2 option to the server, allowing clients to query the total payload size of a resource during block-wise transfer.

CC @relu91: After this is merged and published, node-wot should fulfill this assertion by default :)

JKRhb commented 1 year ago

I'll rebase this PR after #349 is merged :)