Com-AugustCellars / CoAP-CSharp

CoAP Implementation in C#
Other
41 stars 19 forks source link

Fire responding event for a request while transmitting a large post with block1 option. #94

Open oloysance opened 1 year ago

oloysance commented 1 year ago

For a large GET with several block2, there is a Responding Event for every bloc exchange (each response block from the server). I need to have the same approach for a large POST with Block1 specified : (each response block from the server too). This way it is more effective to manage timeouts from the client that can reset the timeout as far as the server is responding ! (instead of having extra long timeout...). What I have changed is :