aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/codegen/client_context.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-08-31 12:58:47 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-08-31 12:58:47 -0700
commitd58daa2b2f577dbf6c629e9914f405df223aac8d (patch)
tree9130fc793aaef0cedc3384e862b2f993f729d308 /include/grpc++/impl/codegen/client_context.h
parent259f23c99ea4294fb6870958611582975da2ef2c (diff)
parentb85448407ecfd4e633886fa04bb3f334b5064a47 (diff)
Merge branch 'client_crash' of github.com:ctiller/grpc into merge-write
Diffstat (limited to 'include/grpc++/impl/codegen/client_context.h')
-rw-r--r--include/grpc++/impl/codegen/client_context.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/grpc++/impl/codegen/client_context.h b/include/grpc++/impl/codegen/client_context.h
index 012bcc2bbe..d77ca4c396 100644
--- a/include/grpc++/impl/codegen/client_context.h
+++ b/include/grpc++/impl/codegen/client_context.h
@@ -271,7 +271,7 @@ class ClientContext {
/// Set \a algorithm to be the compression algorithm used for the client call.
///
- /// \param algorith The compression algorithm used for the client call.
+ /// \param algorithm The compression algorithm used for the client call.
void set_compression_algorithm(grpc_compression_algorithm algorithm);
/// Return the peer uri in a string.
@@ -307,6 +307,10 @@ class ClientContext {
};
static void SetGlobalCallbacks(GlobalCallbacks* callbacks);
+ // Should be used for framework-level extensions only.
+ // Applications never need to call this method.
+ grpc_call* c_call() { return call_; }
+
private:
// Disallow copy and assign.
ClientContext(const ClientContext&);