One simple way could be to use Vim::get_service_url(). This will return the full URL which you can parse. I'm not sure if there is a simple host portion, but you could instantiate a URI object from the service_url and extract the host part.
↧
One simple way could be to use Vim::get_service_url(). This will return the full URL which you can parse. I'm not sure if there is a simple host portion, but you could instantiate a URI object from the service_url and extract the host part.