Package tbdex.sdk.httpserver.handlers
Class SubmitMessageKt
-
- All Implemented Interfaces:
public final class SubmitMessageKt
-
-
Method Summary
Modifier and Type Method Description final static UnitsubmitMessage(ApplicationCall call, ExchangesApi exchangesApi, Callbacks callbacks)Handles the submission of a close message by parsing the incoming message, validating the submission, and executing the specified callback if provided. -
-
Method Detail
-
submitMessage
final static Unit submitMessage(ApplicationCall call, ExchangesApi exchangesApi, Callbacks callbacks)
Handles the submission of a close message by parsing the incoming message, validating the submission, and executing the specified callback if provided.
- Parameters:
call- The ApplicationCall instance representing the HTTP call.exchangesApi- The ExchangesApi instance for interacting with TBDex exchanges.callbacks- The group of callback functions from which to select for submitting Order or Close.
-
-
-
-