ServiceStack.Redis.RedisNativeClient.ClientSetName C# (CSharp) Method

ClientSetName() public method

public ClientSetName ( string name ) : void
name string
return void
        public void ClientSetName(string name)
        {
            if (string.IsNullOrEmpty(name))
                throw new ArgumentException("Name cannot be null or empty");

            if (name.Contains(" "))
                throw new ArgumentException("Name cannot contain spaces");

            SendExpectSuccess(Commands.Client, Commands.SetName, name.ToUtf8Bytes());
        }
RedisNativeClient