ServerUrl
- class ServerUrl
Description
The base URL of a model server, with a scheme its host may be reached by.
httpsis accepted for every host;httponly for a loopback host (localhostor a loopback IP literal). Construct withparse().Inheritance:
Members defined in
ServerUrl(2 members)Attributes
Methods
- static parse(text: str) syside.experimental.remote.ServerUrl
Check
textand return it without a trailing slash.- Raises:
ValueError – If the URL has a user name or password (
user:password@), the scheme is neitherhttpsnorhttp, the URL has no host, or the scheme ishttpand the host is not loopback.
Used by