Esempio n. 1
0
        protected override async Task SendAsync(string text, CancellationToken cancellationToken)
        {
            if (EIO == 3)
            {
                text = text.Length + ":" + text;
            }
            await _httpTransport.PostAsync(_httpUri, text, cancellationToken).ConfigureAwait(false);

            Debug.WriteLine($"[Send] {text}");
        }