Publication::finish(): only checks for topic, leading to unwrap() all over in code that definitely sets a topic a few lines above. Change the API to require a topic in new(). Make reply() (better respond()) a separate ctor remove the class of unwrap. (not a good idea since that requires checking the request properties
unwrap()
all over in code that definitely sets a topic a few lines above. Change the API to require a topic innew()
.Makereply()
(betterrespond()
) a separate ctor remove the class of unwrap. (not a good idea since that requires checking the request properties