core / pragma.client /

Package pragma.client #

Types #

NameSummary

BackendConnection

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

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

ServerTypesData

class ServerTypesData(shortNameToIntType: MutableMap<String, Int> = mutableMapOf(), intTypeToClass: MutableMap<Int, Class<out GeneratedMessageV3>> = mutableMapOf())

This class is not used by Pragma Engine - it is used by Pragma Clients that are used for IT and Load Testing This class contains the mappings to identify an IntType back to its message Class It is constucted from the mapping returned on the v1/types endpoint (that is made to infrom SDK)