setTransferType method
Set current transfer type of connection
Supported types are: TransferType.auto, TransferType.ascii, TransferType.binary,
Implementation
Future<void> setTransferType(TransferType pTransferType) async {
if (_socket.transferType == pTransferType) return;
await _socket.setTransferType(pTransferType);
}