ref_connectable


Description:

[ Version ( since = "3.8" ) ]
public SocketConnectable? ref_connectable ()

Returns a SocketConnectable instance constructed from this's host and port properties, or null if the host is not set.

The returned SocketConnectable is referenced for thread-safety and must be unreferenced with unref when finished with it.

Parameters:

this

an SourceAuthentication

Returns:

a SocketConnectable, or null