Ditto 4.7.2
|
Contains information about a remote peer that has requested a connection. More...
Protected Member Functions | |
override unsafe void | Dispose (bool disposing) |
Properties | |
string | PeerKeyString [get] |
The unique peer key of the remote peer. | |
Dictionary< string, object > | PeerMetadata [get] |
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. | |
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, or when this request is for a WebSocket connection (which does notcurrently support peer 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, or when this request is for a WebSocket connection (which does not currently support peer metadata).
Set peer metadata for the local peer using DittoPresence.SetPeerMetadata(Dictionary<string, object>) or DittoPresence.SetPeerMetadataJsonString(string).