SocketClient.getProtocol

gio.types.SocketProtocol getProtocol() nothrow

Gets the protocol name type of the socket client.

See gio.socket_client.SocketClient.setProtocol for details.

Returns

a #GSocketProtocol