MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / set_server_url

Function set_server_url

python/enterprise.py:168–177  ·  view source on GitHub ↗

Set the url of the Enterprise Server. .. note:: This will raise an Exception if the server is already initialized :param url: New Enterprise Server url

(url: str)

Source from the content-addressed store, hash-verified

166
167
168def set_server_url(url: str):
169 """
170 Set the url of the Enterprise Server.
171
172 .. note:: This will raise an Exception if the server is already initialized
173
174 :param url: New Enterprise Server url
175 """
176 if not core.BNSetEnterpriseServerUrl(url):
177 raise RuntimeError(last_error())
178
179
180def server_name() -> str:

Callers

nothing calls this directly

Calls 1

last_errorFunction · 0.85

Tested by

no test coverage detected