|
|
Provides functionality for working with browser WebSockets.
Method DetailString getChannel() Returns the channel associated with this socket. Returns: String Since: 06-04-2026 String getEndpoint() Returns the endpoint for connecting this ClientSocket. Returns: String Since: 06-04-2026 String getId() Returns the ID used for retrieving this ClientSocket. Returns: String Since: 06-04-2026 Date getLastAccess() Returns the last time this was accessed Returns: Date Since: 06-04-2026 int getMessageCount() Returns the number of messages from the client Returns: int Since: 06-04-2026 String getWorker() Returns the worker that created this socket which may not be the same as the worker running background jobs. Returns: String Since: 06-04-2026 sendMessage(String message) Sends a message to the socket. Requires the socket to be registered with the client first through the endpoint.
Parameters:
Since: 06-04-2026 String toString() Returns a description of this object. Returns: String Since: 06-04-2026 |
||||||||||||||||||
| Copyright © 2006 - 2026, ContractPal, Inc. All rights reserved. | API Date: Jun 06, 2026 03:29 PM |