Gio.SocketClient.prototype.set_protocol
function set_protocol(protocol: Gio.SocketProtocol): void {
// Gjs wrapper for g_socket_client_set_protocol()
}
Sets the protocol of the socket client. The sockets created by this object will use of the specified protocol.
If protocol is %0 that means to use the default protocol for the socket family and type.
Since 2.22
- protocol