Commit 3e5e6efc authored by Philipp Hörist's avatar Philipp Hörist

Client: Add property custom_host

parent 1031b9af
Pipeline #5236 passed with stages
in 37 seconds
......@@ -167,6 +167,10 @@ class Client(Observable):
def set_mode(self, mode):
self._mode = mode
@property
def custom_host(self):
return self._custom_host
def set_custom_host(self, host, protocol, type_):
if self._domain is None:
raise ValueError('Call set_domain() first before set_custom_host()')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment