Documentation states, that it's possible to use drop_result as part of the parsing policy: https://github.com/basiliscos/cpp-bredis#parse_result_titerator-policy
However, it's pretty unclear how to use it with the Connection object.
I read through the source code and Connection seems to be have hard-coded keep_result as policy type. How would I use drop_result with Connection object?
Do I understand the intention of drop_result properly, that it'd cause the parser to verify that the response isn't an error, but the payload itself is dropped.
Documentation states, that it's possible to use
drop_resultas part of the parsing policy: https://github.com/basiliscos/cpp-bredis#parse_result_titerator-policyHowever, it's pretty unclear how to use it with the
Connectionobject.I read through the source code and
Connectionseems to be have hard-codedkeep_resultas policy type. How would I usedrop_resultwith Connection object?Do I understand the intention of
drop_resultproperly, that it'd cause the parser to verify that the response isn't an error, but the payload itself is dropped.