Class: WebWindowHandle

JSROOT. WebWindowHandle

new JSROOT.WebWindowHandle()

Client communication handle for TWebWindow.

Client communication handle for TWebWindow.

Should be created with JSROOT.ConnectWebWindow function

Methods

Returns if one can send text message to server.

Returns if one can send text message to server. Checks number of send credits

Cleanup and close connection.

Cleanup and close connection.

Close connection.

Close connection.

Create configured socket for current object.

Create configured socket for current object.

GetUserArgs()

Returns arguments specified in the RWebWindow::SetUserArgs() method Can be any valid JSON expression.

Returns arguments specified in the RWebWindow::SetUserArgs() method Can be any valid JSON expression. Undefined by default. If field parameter specified and user args is object, returns correspondent member of the user args object

Send text message via the connection.

Send text message via the connection.

SetReceiver()

Set callbacks receiver.

Following function can be defined in receiver object:

  • OnWebsocketMsg
  • OnWebsocketOpened,
  • OnWebsocketClosed