ConnectionArgs Structure |
Namespace: SoftGear.Strix.Unity.Runtime
public struct ConnectionArgs
The ConnectionArgs type exposes the following members.
Name | Description | |
---|---|---|
FromUrlParseResult |
Constructs a new instance of ConnectionArgs
from connection string parsing results and a port, validating them in the process.
|
Name | Description | |
---|---|---|
Host |
Domain name or IP address of the server.
| |
Path |
Optional path. Used in WebSocket connections.
Ignored in other types of connections.
| |
Port |
Port number.
| |
Protocol |
Protocol used to connect to the server. Can only be one of the following:
TCP, UDP, WEB_SOCKET, WEB_SOCKET_SECURE.
|