Skip to content

Instantly share code, notes, and snippets.

@ChrisCates
Created December 17, 2018 19:20
Show Gist options
  • Save ChrisCates/59f7f2407ecfaae9e2828ce8fddaf088 to your computer and use it in GitHub Desktop.
Save ChrisCates/59f7f2407ecfaae9e2828ce8fddaf088 to your computer and use it in GitHub Desktop.
bool available = hiredisx::test::connect();
if (available) {
// You can start using hiredisx
} else {
// Reconfigure your settings or retry
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment