Configuration for a WebSocket server
struct WebSocketServerConfiguration
s20HummingbirdWebSocket0bC19ServerConfigurationV
68GFW
import HummingbirdWebSocket
protocol Sendable
init(maxFrameSize: Int = (1 << 14), extensions: [WebSocketExtensionFactory] = [], autoPing: AutoPingSetup = .enabled(timePeriod: .seconds(30)), validateUTF8: Bool = false)
Initialize WebSocketClient configuration
var autoPing: AutoPingSetup
Auto ping
var extensions: [any WebSocketExtensionBuilder]
WebSocket extensions
var maxFrameSize: Int
Max websocket frame size that can be sent/received
var validateUTF8: Bool
Should we check text messages are valid UTF8