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

Enable credential passing for client #1

Merged
merged 1 commit into from
Apr 13, 2020

Commits on Apr 13, 2020

  1. Enable credential passing for client

    The client works great for me, I love how intuitive it is to use. Since my mqtt server requires authentication and I saw no builtin way to use it I added it this way to the client startup.
    
    In paho one calls _client.set_username_pw after the client is instantiated but with the context manager setting up the context fails. Because one never enterst the context one never gets a chance to pass the credentials to the client.
    gluap committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    c12d227 View commit details
    Browse the repository at this point in the history