Ejemplo n.º 1
0
        public IObservable <IStreamMessage> LocalHashtagAsObservable(string tag, string host = null)
        {
            var url        = ToUrl(host, "/api/v1/streaming/hashtag/local");
            var parameters = new List <KeyValuePair <string, object> > {
                new KeyValuePair <string, object>("tag", AppClient.UrlEncode(tag))
            };
            var connection = new StreamingConnection(Client, url, parameters);

            return(connection.Connect());
        }