TsgcWebSocketLoadBalancerServer › Properties

TsgcWebSocketLoadBalancerServer Properties

Published properties grouped by purpose, followed by the full alphabetical list.

Connection

NameDescription
ActiveStarts or stops the load balancer, opening the listening sockets that accept downstream clients and backend TsgcWebSocketServer registrations.
PortTCP port on which the load balancer accepts incoming WebSocket/HTTP clients and backend server registrations.
BindingsCollection of IP/Port pairs the load balancer listens on for downstream clients and backend registrations.
MaxConnectionsMaximum number of concurrent TCP connections (downstream clients plus registered backends) accepted by the load balancer.

HTTP

NameDescription
HTTP2OptionsEnables and tunes HTTP/2 on the load balancer's TLS listener used to serve HTTPS requests from downstream clients.

Security

NameDescription
SSLEnables TLS/SSL on the load balancer so that clients can connect using wss:// or https://.
SSLOptionsHolds certificate paths, TLS version selection and OpenSSL tuning for the load balancer's TLS listener.
SecurityOptionsDefines admission rules such as allowed origins for WebSocket handshakes that reach the load balancer.

Reliability

NameDescription
LoadBalancerConfigures how the load balancer distributes downstream connections across registered backends and which protocols are balanced.
FallBackProvides alternative transports on the load balancer for browsers that do not support native WebSockets.

Advanced

NameDescription
OptionsMiscellaneous behaviour flags for the load balancer: fragment handling, timeouts, HTTP test pages and UTF-8 validation.
ExtensionsConfigures WebSocket protocol extensions such as per-message deflate compression on the load balancer front-end.
SpecificationsEnables or disables the WebSocket protocol specifications the load balancer will accept from downstream clients.
ThreadPoolEnables a thread pool that recycles worker threads instead of destroying them when connections close.
ThreadPoolOptionsConfigures the size and upper bound of the reusable thread pool used when ThreadPool is enabled.
ThrottleCaps the bandwidth (bits per second) that the load balancer reads from or writes to each connection.

Diagnostics

NameDescription
LogFileWrites every socket message handled by the load balancer to a log file for debugging and auditing.
VersionRead-only string with the sgcWebSockets library version embedded in the binary.

All Properties (alphabetical)

NameDescription
ActiveStarts or stops the load balancer, opening the listening sockets that accept downstream clients and backend TsgcWebSocketServer registrations.
BindingsCollection of IP/Port pairs the load balancer listens on for downstream clients and backend registrations.
ExtensionsConfigures WebSocket protocol extensions such as per-message deflate compression on the load balancer front-end.
FallBackProvides alternative transports on the load balancer for browsers that do not support native WebSockets.
HTTP2OptionsEnables and tunes HTTP/2 on the load balancer's TLS listener used to serve HTTPS requests from downstream clients.
LoadBalancerConfigures how the load balancer distributes downstream connections across registered backends and which protocols are balanced.
LogFileWrites every socket message handled by the load balancer to a log file for debugging and auditing.
MaxConnectionsMaximum number of concurrent TCP connections (downstream clients plus registered backends) accepted by the load balancer.
OptionsMiscellaneous behaviour flags for the load balancer: fragment handling, timeouts, HTTP test pages and UTF-8 validation.
PortTCP port on which the load balancer accepts incoming WebSocket/HTTP clients and backend server registrations.
SecurityOptionsDefines admission rules such as allowed origins for WebSocket handshakes that reach the load balancer.
SpecificationsEnables or disables the WebSocket protocol specifications the load balancer will accept from downstream clients.
SSLEnables TLS/SSL on the load balancer so that clients can connect using wss:// or https://.
SSLOptionsHolds certificate paths, TLS version selection and OpenSSL tuning for the load balancer's TLS listener.
ThreadPoolEnables a thread pool that recycles worker threads instead of destroying them when connections close.
ThreadPoolOptionsConfigures the size and upper bound of the reusable thread pool used when ThreadPool is enabled.
ThrottleCaps the bandwidth (bits per second) that the load balancer reads from or writes to each connection.
VersionRead-only string with the sgcWebSockets library version embedded in the binary.