Classes | |
| class | _BaseMultiCallable |
| class | Channel |
| class | StreamStreamMultiCallable |
| class | StreamUnaryMultiCallable |
| class | UnaryStreamMultiCallable |
| class | UnaryUnaryMultiCallable |
Functions | |
| Iterable[asyncio.Task] | _all_tasks () |
| def | _augment_channel_arguments (ChannelArgumentType base_options, Optional[grpc.Compression] compression) |
| def | insecure_channel (str target, Optional[ChannelArgumentType] options=None, Optional[grpc.Compression] compression=None, Optional[Sequence[ClientInterceptor]] interceptors=None) |
| def | secure_channel (str target, grpc.ChannelCredentials credentials, Optional[ChannelArgumentType] options=None, Optional[grpc.Compression] compression=None, Optional[Sequence[ClientInterceptor]] interceptors=None) |
Variables | |
| string | _USER_AGENT = 'grpc-python-asyncio/{}'.format(_grpcio_metadata.__version__) |
|
private |
Definition at line 52 of file grpc/aio/_channel.py.
|
private |
Definition at line 60 of file grpc/aio/_channel.py.
| def grpc.aio._channel.insecure_channel | ( | str | target, |
| Optional[ChannelArgumentType] | options = None, |
||
| Optional[grpc.Compression] | compression = None, |
||
| Optional[Sequence[ClientInterceptor]] | interceptors = None |
||
| ) |
Creates an insecure asynchronous Channel to a server.
Args:
target: The server address
options: An optional list of key-value pairs (:term:`channel_arguments`
in gRPC Core runtime) to configure the channel.
compression: An optional value indicating the compression method to be
used over the lifetime of the channel. This is an EXPERIMENTAL option.
interceptors: An optional sequence of interceptors that will be executed for
any call executed with this channel.
Returns:
A Channel.
Definition at line 448 of file grpc/aio/_channel.py.
| def grpc.aio._channel.secure_channel | ( | str | target, |
| grpc.ChannelCredentials | credentials, | ||
| Optional[ChannelArgumentType] | options = None, |
||
| Optional[grpc.Compression] | compression = None, |
||
| Optional[Sequence[ClientInterceptor]] | interceptors = None |
||
| ) |
Creates a secure asynchronous Channel to a server.
Args:
target: The server address.
credentials: A ChannelCredentials instance.
options: An optional list of key-value pairs (:term:`channel_arguments`
in gRPC Core runtime) to configure the channel.
compression: An optional value indicating the compression method to be
used over the lifetime of the channel. This is an EXPERIMENTAL option.
interceptors: An optional sequence of interceptors that will be executed for
any call executed with this channel.
Returns:
An aio.Channel.
Definition at line 471 of file grpc/aio/_channel.py.
|
private |
Definition at line 48 of file grpc/aio/_channel.py.