NetMQ.Zyre.Zyre.SetHeader C# (CSharp) Method

SetHeader() public method

Set node header; these are provided to other nodes during discovery and come in each ENTER message.
public SetHeader ( string key, string format ) : void
key string the key
format string the format string for the value
return void
        public void SetHeader(string key, string format, params object[] args)
        {
            var value = string.Format(format, args);
            _actor.SendMoreFrame("SET HEADER").SendMoreFrame(key).SendFrame(value);
        }