Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getter for the connect_options object (connOpts_) in async_client #473

Closed
gary-metalle-rvl opened this issue Jan 10, 2024 · 1 comment
Assignees
Milestone

Comments

@gary-metalle-rvl
Copy link

It would be nice to have a const (read-only) getter for the connOpts_ member variable so as to be able to determine what the connection settings are for a broker connection.

I've mentioned async_client but I'm guessing this is just as valid for other flavoured clients that have this member too.

@fpagliughi fpagliughi self-assigned this Jan 10, 2024
@fpagliughi fpagliughi added this to the v1.4 milestone Jan 10, 2024
@fpagliughi
Copy link
Contributor

To be thread-safe it has to return a full copy. But it's in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants