|
Ditto 5.0.0
|
Contains information about a remote peer that has requested a connection. More...
Protected Member Functions | |
| override unsafe void | Dispose (bool disposing) |
| Protected Member Functions inherited from DittoSDK.Internal.Drop | |
| void | Dispose (bool disposing) |
| Overload for types to dispose of resources, regardless of whether the type is being disposed or finalized. Note that finalization occurs on a dedicated thread. | |
Properties | |
| string | PeerKey [get] |
| The unique peer key of the remote peer. | |
| Dictionary< string, object > | PeerMetadata [get] |
| Metadata associated with the remote peer. | |
| string | PeerMetadataJsonString [get] |
| JSON metadata associated with the remote peer. | |
| Dictionary< string, object > | IdentityServiceMetadata [get] |
| Metadata for the remote peer that is provided by the identity service. | |
| string | IdentityServiceMetadataJsonString [get] |
| JSON-encoded metadata for the remote peer that is provided by the identity service. | |
| DittoConnectionType | ConnectionType [get] |
| The network transport of this connection request. | |
| Properties inherited from DittoSDK.Internal.Drop | |
| bool | IsDisposed [get] |
Additional Inherited Members | |
| Public Member Functions inherited from DittoSDK.Internal.Drop | |
| void | Dispose () |
| Suppresses finalization and initiates custom disposal logic. | |
Contains information about a remote peer that has requested a connection.
Connection requests and their authorization are scoped to a specific Ditto peer and connection type.
|
get |
The network transport of this connection request.
Expect to receive separate connection requests for each network transport that connects the local and remote peer.
|
get |
Metadata for the remote peer that is provided by the identity service.
Use an authentication webhook to set this value. See Ditto's online documentation for more information on how to configure an authentication webhook.
Convenience property that wraps IdentityServiceMetadataJsonString.
|
get |
JSON-encoded metadata for the remote peer that is provided by the identity service.
Use an authentication webhook to set this value. See Ditto's online documentation for more information on how to configure an authentication webhook.
|
get |
The unique peer key of the remote peer.
|
get |
Metadata associated with the remote peer.
Empty dictionary if the remote peer has not set any metadata.
Set peer metadata for the local peer using DittoPresence.SetPeerMetadata(Dictionary<string, object>) or DittoPresence.SetPeerMetadataJsonString(string).
Convenience property that wraps PeerMetadataJsonString.
|
get |
JSON metadata associated with the remote peer.
JSON string representing an empty dictionary if the remote peer has not set any metadata.
Set peer metadata for the local peer using DittoPresence.SetPeerMetadata(Dictionary<string, object>) or DittoPresence.SetPeerMetadataJsonString(string).