channel.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:aiogrpc 作者: hubo1016 项目源码 文件源码
def secure_channel(target, credentials, options=None, *, loop=None, executor=None,
                   standalone_pool_for_streaming=False):
    """Creates a secure Channel to a server.

  Args:
    target: The server address.
    credentials: A ChannelCredentials instance.
    options: An optional list of key-value pairs (channel args in gRPC runtime)
    to configure the channel.

  Returns:
    A Channel object.
  """
    return Channel(_grpc.secure_channel(target, credentials, options),
                   loop, executor, standalone_pool_for_streaming)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号