core / pragma.client / BackendConnection /

BackendConnection #

class BackendConnection(backendUrl: Url, transportMode: TransportMode, token: String, webSocketProtocol: String = "ws", websocketFactory: WebsocketFactory, serverTypesData: ServerTypesData, autoRegisterNotifications: Boolean)

This class is not used by Pragma Engine. This class is used by Pragma Clients that are used for IT and Load Testing This layer contains the logic to make a request and then desearlize the payload off the ExternalMessage response

Constructors #

BackendConnection

fun BackendConnection(backendUrl: Url, transportMode: TransportMode, token: String, webSocketProtocol: String = "ws", websocketFactory: WebsocketFactory, serverTypesData: ServerTypesData, autoRegisterNotifications: Boolean)