Namespace ProtoTest.Devices.WebSocket

Classes

DeviceFrameTooLargeException

The frame a device sent exceeded MaxMessageBytes. The message names the address and the limit, so an oversized frame fails as a device assertion instead of an out-of-memory crash.

WebSocketDeviceBuilderExtensions

Registers a WebSocket device client with AddDevices.

WebSocketDeviceConnection

One open WebSocket, frames in and out. Public so a hosting integration can wrap its own socket.

WebSocketDeviceOptions

How the WebSocket transport connects and reads. Code sets defaults through the client registration (AddWebSocketClient(..., configure)) or AddInProcessWebSocketDevices(configure); ProtoTest:Devices:WebSocket overrides them per environment.

WebSocketDeviceTransport

Talks to devices over WebSocket - the simulator or gateway in CI, the device's own endpoint in a lab. Text frames stay text, binary frames stay binary; the address comes from the client's resolver.