Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Currently we have no C++ binding equivalent to pn_transport_require_auth() and pn_transport_require_encryption().
This means that we can't currently write credible AMQP servers using the C++ binding.
There is a design issue here though - It is not actually clear that just adding these functions in exactly the same API location (to the transport object) is the correct design for the C++ API.
Maybe they should be options passed into the container::listen() function.
They would probably have to be a new kind of listener_option since these options have to take effect before the listen_handler can ever be called.