/* * Set the proxy name and port for the MusicBrainz::TRM object. * * Note: If unspecified, the port defaults to 8080. * * Returns false if MusicBrainz could not connect to the proxy. * * Aliases: * MusicBrainz::TRM#set_proxy * * Examples: * # connect to 'proxy.localdomain', port 8080 * trm.proxy = 'proxy.localdomain' * * # connect to proxy.example.com, port 31337 * trm.proxy = 'proxy.example.com:31337' * * # connect to www.musicbrainz.org, port 8080 * trm.set_proxy 'www.musicbrainz.org' * * # connect to proxy.example.com, port 31337 * trm.set_proxy 'proxy.example.com', 31337 * */ static VALUE mb_trm_set_proxy(int argc, VALUE *argv, VALUE self) {