diff options
Diffstat (limited to 'src/google/protobuf/service.h')
-rw-r--r-- | src/google/protobuf/service.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/google/protobuf/service.h b/src/google/protobuf/service.h index cc0b45d4..ad6f9685 100644 --- a/src/google/protobuf/service.h +++ b/src/google/protobuf/service.h @@ -74,12 +74,12 @@ // // To call a remote MyServiceImpl, first you need an RpcChannel connected to it. // How to construct a channel depends, again, on your RPC implementation. -// Here we use a hypothentical "MyRpcChannel" as an example: +// Here we use a hypothetical "MyRpcChannel" as an example: // MyRpcChannel channel("rpc:hostname:1234/myservice"); // MyRpcController controller; // MyServiceImpl::Stub stub(&channel); // FooRequest request; -// FooRespnose response; +// FooResponse response; // // // ... fill in request ... // @@ -102,6 +102,7 @@ #include <string> #include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/callback.h> namespace google { namespace protobuf { |