Classes | Functions | Variables
grpc.aio._channel Namespace Reference

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__)
 

Function Documentation

◆ _all_tasks()

Iterable[asyncio.Task] grpc.aio._channel._all_tasks ( )
private

Definition at line 52 of file grpc/aio/_channel.py.

◆ _augment_channel_arguments()

def grpc.aio._channel._augment_channel_arguments ( ChannelArgumentType  base_options,
Optional[grpc.Compression compression 
)
private

Definition at line 60 of file grpc/aio/_channel.py.

◆ insecure_channel()

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.

◆ secure_channel()

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.

Variable Documentation

◆ _USER_AGENT

string grpc.aio._channel._USER_AGENT = 'grpc-python-asyncio/{}'.format(_grpcio_metadata.__version__)
private

Definition at line 48 of file grpc/aio/_channel.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:32