automated_testing_framework_server_websocket library

Classes

AllowAllAutorizer
Authorizer that will allow all commands to execute.
AnnounceDeviceAuthCommandHandler
AnnounceDriverAuthCommandHandler
Application
AuthenticationCommandHandler
AuthenticationState
State object that can be used by Authenticator classes to pass information between handlers.
Authenticator
Abstract class to provide authentication against incoming connections. The authenticator is responsible for determining what type of WebSocketCommunicator the incoming socket represenst, if any.
Authorizer
Class that authorizes commands sent from a WebSocketCommunicator.
ChallengeResponseAuthCommandHandler
DefaultAuthenticator
Device
Represents a connected device capable of receiving test commands.
Driver
A connected test driver.
GoodbyeHandler
ListDevicesHandler
PingHandler
ReserveDeviceHandler
Server
The core of the package. This creates the websocket server that listens for incoming commands and passes them off to associated handlers, either internal or external.
ServerConfiguration
Session
Represents a connected session between a device driver and a device.
WebSocketCommunicator

Typedefs

CustomServerCommandHandler = Future<void> Function({required Application? app, required WebSocketCommunicator? comm, required DeviceCommand command})
ServerCommandHandler = Future<void> Function({required Application? app, required WebSocketCommunicator? comm, required DeviceCommand command})

Exceptions / Errors

AuthenticationException