diff options
Diffstat (limited to 'src/core/security/security_context.h')
-rw-r--r-- | src/core/security/security_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/security/security_context.h b/src/core/security/security_context.h index 2b9610fac3..40e2daceb8 100644 --- a/src/core/security/security_context.h +++ b/src/core/security/security_context.h @@ -47,6 +47,11 @@ typedef enum { GRPC_SECURITY_ERROR } grpc_security_status; +/* --- URL schemes. --- */ + +#define GRPC_SSL_URL_SCHEME "https" +#define GRPC_FAKE_SECURITY_URL_SCHEME "http+fake_security" + /* --- security_context object. --- A security context object represents away to configure the underlying @@ -72,6 +77,7 @@ struct grpc_security_context { const grpc_security_context_vtable *vtable; gpr_refcount refcount; int is_client_side; + const char *url_scheme; }; /* Increments the refcount. */ |