Click or drag to resize

IConnectionProviderSendMessage Method

Deliver a protocol unit (as a string) to the server.

Namespace: Sportradar.SDK.Common.Interfaces
Assembly: Common (in Common.dll) Version: 2.28.0.0
Syntax
C#
bool SendMessage(
	string message,
	bool only_try = false
)

Parameters

message  String
protocol unit (in string format)
only_try  Boolean  (Optional)
when true do not throw any exceptions

Return Value

Boolean

[Missing <returns> documentation for "M:Sportradar.SDK.Common.Interfaces.IConnectionProvider.SendMessage(System.String,System.Boolean)"]

Exceptions
ExceptionCondition
DisconnectedStateExceptionIf we are currently disconnected
See Also