Returns current features requested by the remote peer this connection is linked to.
Features are a way for the remote peer to advertise some requested feature. This is used/defined for each profile. Not all profiles makes use of the feature optional attribute. Value get from this function is the feature set by the remote peer. In case the remote peer is a Vortex Library one, this value is set using vortex_greetings_set_features.
Features are sent at greetings time, which is the initial handshake done between BEEP peers and it is previous to any channel created. Features could be considered globally to the connection.
You should not confuse this function with vortex_greetings_get_features. That function returns current status of features that will be sent to the remote peers while current host creates a new session.
|connection ||The connection where the greetings were received, signaling the features request.|
- Features requested by the remote peer or NULL if none features was defined. This function also return NULL if the connection is not connected (verified with vortex_connection_is_ok).