Gio.SocketClient.prototype.get_protocol
function get_protocol(): Gio.SocketProtocol {
// Gjs wrapper for g_socket_client_get_protocol()
}
Gets the protocol name type of the socket client.
See Gio.SocketClient.prototype.set_protocol for details.
Since 2.22
- Returns