from_transport_options#

classmethod Client.from_transport_options(transport_options, *, max_message_length=131072)#

Initialize the client from transport options.

Parameters:
  • transport_options (InsecureOptions | MTLSOptions | UDSOptions) – Transport options to use for connecting to the server.

  • max_message_length (int, default: 131072) – Maximum message length in bytes to send over the channel.

Return type:

Client

Returns:

Instantiated FileTransfer client.