Constructor ConnectionEndpoint
- Namespace
- DSharpPlus.Net
- Assembly
- DSharpPlus.dll
ConnectionEndpoint(string, int, bool)
Creates a new endpoint structure.
public ConnectionEndpoint(string hostname, int port, bool secured = false)
Parameters
hostname
stringHostname to connect to.
port
intPort to use for connection.
secured
boolWhether the connection should be secured (https/wss).