![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
The connection capabilities class. More...
Public Member Functions | |
byte | AsByte () |
Representation of the capabilities byte suitable for sending in a binary format. More... | |
ConnectionCapabilities | Remove (ConnectionCapabilities other) |
Remove another ConnectionCapabilities from this one. More... | |
override bool | Equals (object obj) |
Determines whether the specified T:System.Object is equal to the current T:System.Object. More... | |
override int | GetHashCode () |
Serves as a hash function for a particular type. More... | |
override string | ToString () |
Returns a string that represents the current object. More... | |
Static Public Attributes | |
static ConnectionCapabilities | NO_CAPABILITIES = new ConnectionCapabilities(0) |
No capabilities. More... | |
static ConnectionCapabilities | CLASSIC_ALL_CAPABILITIES |
The capabilities of a fully-fledged classic connection. More... | |
static ConnectionCapabilities | UNIFIED_ALL_CAPABILITIES |
The capabilities of a fully-fledged unified API connection. More... | |
Properties | |
bool | CanEncrypt [get] |
Determines whether encryption is possible. More... | |
bool | CanCompress [get] |
Determines whether compression is possible. More... | |
bool | CanBase64 [get] |
Determines whether base64 encoding is possible. More... | |
bool | IsUnifiedApi [get] |
Returns true if the connection is from a unified API client. More... | |
The connection capabilities class.
byte PushTechnology.DiffusionCore.Connection.ConnectionCapabilities.AsByte | ( | ) |
Representation of the capabilities byte suitable for sending in a binary format.
override bool PushTechnology.DiffusionCore.Connection.ConnectionCapabilities.Equals | ( | object | obj | ) |
Determines whether the specified T:System.Object is equal to the current T:System.Object.
obj | The object to compare with the current object. |
override int PushTechnology.DiffusionCore.Connection.ConnectionCapabilities.GetHashCode | ( | ) |
Serves as a hash function for a particular type.
ConnectionCapabilities PushTechnology.DiffusionCore.Connection.ConnectionCapabilities.Remove | ( | ConnectionCapabilities | other | ) |
Remove another ConnectionCapabilities from this one.
Returns a copy of this instance with the given capabilities removed.
other | The object to subtract from this. |
override string PushTechnology.DiffusionCore.Connection.ConnectionCapabilities.ToString | ( | ) |
Returns a string that represents the current object.
|
static |
The capabilities of a fully-fledged classic connection.
|
static |
No capabilities.
|
static |
The capabilities of a fully-fledged unified API connection.
|
get |
Determines whether base64 encoding is possible.
|
get |
Determines whether compression is possible.
|
get |
Determines whether encryption is possible.
|
get |
Returns true if the connection is from a unified API client.