public ChannelSubscribe ( string channel ) : bool | ||
channel | string | |
return | bool |
public bool ChannelSubscribe(string channel)
{
if (channel == null)
throw new ArgumentNullException("channel");
return !this.getConnection().Exec("subscribe", new string[] { channel }).IsError;
}