diff options
author | 2015-02-21 22:45:35 -0800 | |
---|---|---|
committer | 2015-02-23 09:58:22 -0800 | |
commit | 47c83fdaf71ca5072d0ab37322b37586d23f5ceb (patch) | |
tree | 808ca8183045d5e770eebe4eee31ca907ead1f56 /include/grpc++/create_channel.h | |
parent | 8b131922438d96579cb315777ca980e094883496 (diff) |
Credentials prototyping
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
Diffstat (limited to 'include/grpc++/create_channel.h')
-rw-r--r-- | include/grpc++/create_channel.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/grpc++/create_channel.h b/include/grpc++/create_channel.h index eadabda359..2c40047e9a 100644 --- a/include/grpc++/create_channel.h +++ b/include/grpc++/create_channel.h @@ -43,9 +43,6 @@ namespace grpc { class ChannelArguments; class ChannelInterface; -std::shared_ptr<ChannelInterface> CreateChannel(const grpc::string& target, - const ChannelArguments& args); - // If creds does not hold an object or is invalid, a lame channel is returned. std::shared_ptr<ChannelInterface> CreateChannel( const grpc::string& target, const std::unique_ptr<Credentials>& creds, |