Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (29 sloc) 0.933 kb
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using SignalR.Client.Http;
namespace SignalR.Client
{
public interface IConnection
{
string MessageId { get; set; }
IEnumerable<string> Groups { get; set; }
IDictionary<string, object> Items { get; }
string ConnectionId { get; }
string Url { get; }
string QueryString { get; }
ConnectionState State { get; }
bool ChangeState(ConnectionState oldState, ConnectionState newState);
ICredentials Credentials { get; set; }
CookieContainer CookieContainer { get; set; }
void Stop();
Task Send(string data);
Task<T> Send<T>(string data);
void OnReceived(JToken data);
void OnError(Exception ex);
void OnReconnected();
void PrepareRequest(IRequest request);
}
}
Jump to Line
Something went wrong with that request. Please try again.