Optionaloptions: TlsWebSocketOptionsEvent handler that is called when an Error occurs.
Event handler that is called after the connection has been established
Event handler that is called after the connection has been closed
Event handler that is called after data from the server has been received an has been decrypted.
Called after send() has been called.
ProtectedinitProtectedlastProtectedclosedProtectedoptionsProtecteddataProtecteddataProtecteddataProtectedserverSends data through ssl client
Returns all the data in the send Buffer.
OptionalclearBuffer: booleanif this is set the buffer will be cleared on return.
Actively Closes connection Also frees all memory
Gets Status Information of this TlsWebsocket
Reads a PEM encoded String of the complete certificate chain of the server.
PTM string, could be undefined in case of an error.
Frees the memory
Simple Class that implements the TlsWebSocket and stores the data in buffers.