Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

question:is there any way to regist interface instead of std:function in methods_handler post and get funcion #40

Open
ZhaoGuangYue1986 opened this issue Aug 16, 2018 · 1 comment

Comments

@ZhaoGuangYue1986
Copy link

question:is there any way to regist interface instead of std:function in methods_handler post and get funcion

@Jeffail
Copy link
Contributor

Jeffail commented Aug 16, 2018

Hey @ostack, you could use std::bind to create a std::function from a class instance.

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

No branches or pull requests

2 participants