Factory function to create a SenderBuffer instance based on the protocol version.
Sender configuration object. See SenderOptions documentation for detailed description of configuration options.
A SenderBuffer instance appropriate for the specified protocol version
Error if protocol version is not specified or is unsupported
Factory function to create a SenderBuffer instance based on the protocol version.