Ejemplo n.º 1
0
        public StreamInfo GetStreamInfoInternal(string streamName, StreamInfoOptions options)
        {
            byte[] payload = options == null ? null : options.Serialize();
            string subj    = string.Format(JetStreamConstants.JsapiStreamInfo, streamName);
            Msg    m       = RequestResponseRequired(subj, payload, Timeout);

            return(new StreamInfo(m, true));
        }
Ejemplo n.º 2
0
 public StreamInfo GetStreamInfo(string streamName, StreamInfoOptions options)
 {
     Validator.ValidateStreamName(streamName, true);
     return(GetStreamInfoInternal(streamName, options));
 }