TsgcWebSocketServer_HTTPAPI › Properties

TsgcWebSocketServer_HTTPAPI Properties

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

Connection

NameDescription
ActiveStarts or stops the HTTP.sys listener, registering the configured URL with the Windows kernel driver.
HostHostname or IP address used to build the URL registered with the http.sys driver.
PortTCP port that, combined with Host, forms the URL the http.sys driver reserves for the server.
BindingOptionsFine-tunes how URL reservations and SSL certificates are registered with the http.sys driver at start-up.
MaxConnectionsMaximum number of concurrent client connections accepted by the http.sys listener (zero means unlimited).

Timeouts

NameDescription
TimeoutsOverrides the default http.sys request, entity-body, keep-alive and send-rate timeouts.

Security

NameDescription
AuthenticationEnables and configures user/password authentication for incoming WebSocket and HTTP requests.
SSLEnables TLS/SSL on the http.sys listener so that clients can connect using wss:// or https://.
SSLOptionsIdentifies the Windows Certificate Store entry that http.sys binds to the listener when SSL is enabled.
SecurityOptionsDefines admission rules such as allowed origins for browser WebSocket handshakes.
APIKeyManagerOptional API-key manager component used to validate incoming API keys before accepting a connection.

Reliability

NameDescription
HeartBeatSends periodic ping frames to keep idle WebSocket connections alive and detect dead peers.
WatchDogAutomatically restarts the server after an unexpected shutdown or listener failure.
FirewallAssigns a firewall component that filters incoming connections by IP, region or custom rules.
RateLimiterAssigns a rate-limiter component that caps request and message rates per client or per IP.

Performance

NameDescription
AsynchronousEnables fire-and-forget sends: the caller returns immediately and completion is signalled through the OnAsynchronous event.
MaxBandwidthMaximum allowed bandwidth in bytes per second across all connections (zero means unlimited).
ThreadPoolSizeNumber of worker threads serving the http.sys request queue through IOCP.
ReadBufferSizeSize in bytes of the receive buffer allocated per pending overlapped read against the http.sys request queue.
FineTuneLow-level kernel-mode knobs that shape how http.sys queues, dispatches and completes requests.

HTTP

NameDescription
HTTPUploadFilesControls how files uploaded through HTTP POST are buffered (memory or file stream) and saved to disk.

Advanced

NameDescription
OptionsBundles miscellaneous server behaviour flags: fragment handling, write timeouts, HTTP test pages and UTF-8 validation.
QueueOptionsSerialises outbound messages through an internal per-connection queue to prevent contention between threads.
ExtensionsConfigures WebSocket protocol extensions such as per-message deflate compression.
SpecificationsEnables or disables the WebSocket protocol specifications the server will accept.

Diagnostics

NameDescription
LogFileWrites every incoming and outgoing socket message 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 HTTP.sys listener, registering the configured URL with the Windows kernel driver.
APIKeyManagerOptional API-key manager component used to validate incoming API keys before accepting a connection.
AsynchronousEnables fire-and-forget sends: the caller returns immediately and completion is signalled through the OnAsynchronous event.
AuthenticationEnables and configures user/password authentication for incoming WebSocket and HTTP requests.
BindingOptionsFine-tunes how URL reservations and SSL certificates are registered with the http.sys driver at start-up.
ExtensionsConfigures WebSocket protocol extensions such as per-message deflate compression.
FineTuneLow-level kernel-mode knobs that shape how http.sys queues, dispatches and completes requests.
FirewallAssigns a firewall component that filters incoming connections by IP, region or custom rules.
HeartBeatSends periodic ping frames to keep idle WebSocket connections alive and detect dead peers.
HostHostname or IP address used to build the URL registered with the http.sys driver.
HTTPUploadFilesControls how files uploaded through HTTP POST are buffered (memory or file stream) and saved to disk.
LogFileWrites every incoming and outgoing socket message to a log file for debugging and auditing.
MaxBandwidthMaximum allowed bandwidth in bytes per second across all connections (zero means unlimited).
MaxConnectionsMaximum number of concurrent client connections accepted by the http.sys listener (zero means unlimited).
OptionsBundles miscellaneous server behaviour flags: fragment handling, write timeouts, HTTP test pages and UTF-8 validation.
PortTCP port that, combined with Host, forms the URL the http.sys driver reserves for the server.
QueueOptionsSerialises outbound messages through an internal per-connection queue to prevent contention between threads.
RateLimiterAssigns a rate-limiter component that caps request and message rates per client or per IP.
ReadBufferSizeSize in bytes of the receive buffer allocated per pending overlapped read against the http.sys request queue.
SecurityOptionsDefines admission rules such as allowed origins for browser WebSocket handshakes.
SpecificationsEnables or disables the WebSocket protocol specifications the server will accept.
SSLEnables TLS/SSL on the http.sys listener so that clients can connect using wss:// or https://.
SSLOptionsIdentifies the Windows Certificate Store entry that http.sys binds to the listener when SSL is enabled.
ThreadPoolSizeNumber of worker threads serving the http.sys request queue through IOCP.
TimeoutsOverrides the default http.sys request, entity-body, keep-alive and send-rate timeouts.
VersionRead-only string with the sgcWebSockets library version embedded in the binary.
WatchDogAutomatically restarts the server after an unexpected shutdown or listener failure.