meltwater / served

A C++11 RESTful web server library
MIT License
710 stars 174 forks source link

Add "overwrite" boolean to allow the possibility to edit a current handle #46

Open adevress opened 5 years ago

adevress commented 5 years ago

Add "overwrite" boolean to allow the possibility to edit a current handle instead of creating a new one.

Useful feature when someone want to use multiple method on the same handle without keeping reference to the handle

Jeffail commented 5 years ago

Hey @adevress, looks good. Would you be able to add some unit tests to https://github.com/meltwater/served/blob/master/src/served/multiplexer.test.cpp?