Table of Contents

Constructor ConnectionEndpoint

Namespace
DisCatSharp.Net
Assembly
DisCatSharp.dll

ConnectionEndpoint(string, int, bool)

Creates a new endpoint structure.

public ConnectionEndpoint(string hostname, int port, bool secured = false)

Parameters

hostname string

Hostname to connect to.

port int

Port to use for connection.

secured bool

Whether the connection should be secured (https/wss).