summary refs log tree commit diff
path: root/src/rpcStub.hpp
diff options
context:
space:
mode:
authorNewe <speedy.wolfy@outlook.com>2021-05-21 11:13:17 +0200
committerNewe <speedy.wolfy@outlook.com>2021-05-21 11:13:17 +0200
commit7d40250c11077d6717388412479a65bb8826960b (patch)
tree38fe9b264f6e1bdfe0f08c7a75597012dc9ea4f7 /src/rpcStub.hpp
parentMerge branch 'master' of https://github.com/discord-open-source/discord-voice (diff)
downloadserver-7d40250c11077d6717388412479a65bb8826960b.tar.xz
[add] Basic project structure
Diffstat (limited to 'src/rpcStub.hpp')
-rw-r--r--src/rpcStub.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rpcStub.hpp b/src/rpcStub.hpp
new file mode 100644

index 00000000..9da80cda --- /dev/null +++ b/src/rpcStub.hpp
@@ -0,0 +1,10 @@ +#include <grpc++/grpc++.h> +#include "protodefs/include/protos.grpc.pb.h" + +class rpcStub{ + public: + rpcStub(int port); + private: + std::unique_ptr<grpc::Server> server; + +}; \ No newline at end of file