diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-08 18:09:57 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-08 18:09:57 -0700 |
commit | 1f8fc77d1af9beb8465e1ee8c3285b4a6f50c0fb (patch) | |
tree | d4049955151f824380f48e62efbef8c491a70238 /src/core/httpcli | |
parent | acdb001fafc190bd3639012adefff76e054978fb (diff) | |
parent | ea94e46b0df7f1774eefea6654f1e26cc4484b00 (diff) |
Merge pull request #2252 from jboeuf/jwt_verifier
Adding JWT verifier.
Diffstat (limited to 'src/core/httpcli')
-rw-r--r-- | src/core/httpcli/httpcli.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/httpcli/httpcli.h b/src/core/httpcli/httpcli.h index 06699e88c2..ab98178f8a 100644 --- a/src/core/httpcli/httpcli.h +++ b/src/core/httpcli/httpcli.h @@ -85,7 +85,7 @@ typedef struct grpc_httpcli_response { char *body; } grpc_httpcli_response; -/* Callback for grpc_httpcli_get */ +/* Callback for grpc_httpcli_get and grpc_httpcli_post. */ typedef void (*grpc_httpcli_response_cb)(void *user_data, const grpc_httpcli_response *response); @@ -100,8 +100,6 @@ void grpc_httpcli_context_destroy(grpc_httpcli_context *context); 'request' contains request parameters - these are caller owned and can be destroyed once the call returns 'deadline' contains a deadline for the request (or gpr_inf_future) - 'em' points to a caller owned event manager that must be alive for the - lifetime of the request 'on_response' is a callback to report results to (and 'user_data' is a user supplied pointer to pass to said call) */ void grpc_httpcli_get(grpc_httpcli_context *context, grpc_pollset *pollset, |