Provides functionality for working making direct workflow calls to web workflow or a plugin.
Method DetailSocket setAction(String action) Action or the event.
Parameters:
Returns: Socket Since: 11-04-2023 Socket setData(Data data) Sets the data.
Parameters:
Returns: Socket Since: 11-04-2023 Socket setHeaders(Data headers) For a web socket, this sets the given http headers.
Parameters:
Returns: Socket Since: 11-04-2023 Socket setJson(String json) Sets json.
Parameters:
Returns: Socket Since: 11-04-2023 Socket setMethod(String method) For a web socket, for example, this should be 'get' or 'post'.
Parameters:
Returns: Socket Since: 11-04-2023 Socket setPath(String path) For a web socket, this sets the given path, e.g. /thepath.
Parameters:
Returns: Socket Since: 11-04-2023 Socket setWorkflow(String workflow) Workflow to run (web pal only).
Parameters:
Returns: Socket Since: 11-04-2023 SocketResponse submit() Submits to the socket endpoint. Returns: SocketResponse Since: 11-04-2023 String toString() Returns a description of this object. Returns: String Since: 11-04-2023 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |