Property | Type | Description | |
---|---|---|---|
ChangeState | bool | ||
CreateQueryString | string | ||
CreateUserAgentString | string | ||
Disconnect | void | ||
IConnection | bool | ||
IConnection | void | ||
IConnection | void | ||
IConnection | void | ||
IConnection | void | ||
Negotiate | Task | ||
OnError | void | ||
OnMessageReceived | void | ||
OnReconnecting | void | ||
SetTimeout | IDisposable | ||
Start | Task | ||
StartTransport | Task | ||
Stop | void | ||
Stop | void | ||
TryParseVersion | bool | ||
VerifyProtocolVersion | void |
Method | Description | |
---|---|---|
AddClientCertificate ( |
Adds a client certificate to the request
|
|
Connection ( string url ) : System |
Initializes a new instance of the Connection class.
|
|
Connection ( string url, string>.IDictionary |
Initializes a new instance of the Connection class.
|
|
Connection ( string url, string queryString ) : System |
Initializes a new instance of the Connection class.
|
|
Dispose ( ) : void |
Stop the connection, equivalent to calling connection.stop
|
|
Send ( object value ) : Task |
Sends an object that will be JSON serialized asynchronously over the connection.
|
|
Send ( string data ) : Task |
Sends data asynchronously over the connection.
|
|
Start ( ) : Task |
Starts the Connection.
|
|
Start ( IClientTransport transport ) : Task |
Starts the Connection.
|
|
Stop ( ) : void |
Stops the Connection and sends an abort message to the server.
|
|
Stop ( |
Stops the Connection and sends an abort message to the server. The error due to which the connection is being stopped.
|
|
Trace ( TraceLevels level, string format ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Stop the connection, equivalent to calling connection.stop
|
|
OnClosed ( ) : void | ||
OnSending ( ) : string |
Method | Description | |
---|---|---|
ChangeState ( ConnectionState oldState, ConnectionState newState ) : bool | ||
CreateQueryString ( string>.IDictionary |
||
CreateUserAgentString ( string client ) : string | ||
Disconnect ( ) : void | ||
IConnection ( ConnectionState oldState, ConnectionState newState ) : bool | ||
IConnection ( ) : void |
Stops the Connection without sending an abort message to the server. This function is called after we receive a disconnect message from the server.
|
|
IConnection ( |
||
IConnection ( IRequest request ) : void | ||
IConnection ( JToken message ) : void | ||
Negotiate ( IClientTransport transport ) : Task | ||
OnError ( |
||
OnMessageReceived ( JToken message ) : void | ||
OnReconnecting ( ) : void | ||
SetTimeout ( System.TimeSpan delay, System.Action operation ) : IDisposable | ||
Start ( IHttpClient httpClient ) : Task | ||
StartTransport ( ) : Task | ||
Stop ( |
||
Stop ( System.TimeSpan timeout ) : void | ||
TryParseVersion ( string versionString, Version &version ) : bool | ||
VerifyProtocolVersion ( string versionString ) : void |
public AddClientCertificate ( |
||
certificate | Client Certificate | |
return | void |
public Connection ( string url ) : System | ||
url | string | The url to connect to. |
return | System |
public Connection ( string url, string>.IDictionary |
||
url | string | The url to connect to. |
queryString | string>.IDictionary | The query string data to pass to the server. |
return | System |
public Connection ( string url, string queryString ) : System | ||
url | string | The url to connect to. |
queryString | string | The query string data to pass to the server. |
return | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Set this to true to perform the dispose, false to do nothing |
return | void |
public Send ( object value ) : Task | ||
value | object | The value to serialize. |
return | Task |
public Start ( IClientTransport transport ) : Task | ||
transport | IClientTransport | The transport to use. |
return | Task |
public Trace ( TraceLevels level, string format ) : void | ||
level | TraceLevels | |
format | string | |
return | void |