Skip to content

Instantly share code, notes, and snippets.

@sangfansh
Created August 10, 2018 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sangfansh/f935847f93926df81b4f4b7c1bace686 to your computer and use it in GitHub Desktop.
Save sangfansh/f935847f93926df81b4f4b7c1bace686 to your computer and use it in GitHub Desktop.
int VerificationManager::init() {
if (this->sp) {
delete this->sp;
this->sp = new ServiceProvider(this->ws);
}
this->nm->Init();
this->nm->connectCallbackHandler([this](string v, int type) {
return this->incomingHandler(v, type);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment