SecureBridge 9.2 Websocket problems
Posted: Tue 26 May 2020 10:46
Hello!
1. I get an accsess violation in TScWebSocketClient.MaskData when i trying to send big binary data. It can't split array of bytes. I found the decision: In TScWebSocketClient.SendData method, the line shold be
2. Old documentation. The methods described in the documentation differ from the actual methods.
In documentation:
In reality:
and etc...
3. I can't find the description of TScCancellationToken.
4. TScWatchDogOptions.Attempts with -1 not working as unlimited.
1. I get an accsess violation in TScWebSocketClient.MaskData when i trying to send big binary data. It can't split array of bytes. I found the decision: In TScWebSocketClient.SendData method, the line
Code: Select all
Inc(Data, Cnt);
Code: Select all
Inc(Integer(Data), Cnt);
In documentation:
Code: Select all
procedure Connect(const Uri: string); overload;
procedure Connect; overload;
Code: Select all
procedure Connect(const Uri: string; CancellationToken: TScCancellationToken = nil); overload;
procedure Connect(CancellationToken: TScCancellationToken = nil); overload;
3. I can't find the description of TScCancellationToken.
4. TScWatchDogOptions.Attempts with -1 not working as unlimited.