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)); }
public StreamInfo GetStreamInfo(string streamName, StreamInfoOptions options) { Validator.ValidateStreamName(streamName, true); return(GetStreamInfoInternal(streamName, options)); }