public async Task <byte[]> EchoAsync(byte[] message) { ValidateNotDisposed(); if (message == null) { throw new ArgumentNullException(nameof(message)); } using var connection = new RedisConnection(_connectionSettings); var command = new Echo(connection.GetStream(), message); return(await command.ExecuteAsync()); }