Class SubmitCloseKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit submitClose(ApplicationCall call, ExchangesApi exchangesApi, SuspendFunction2<ApplicationCall, Close, Unit> callback, Close close) Handles the submission of a close message by parsing the incoming message, validating the submission, and executing the specified callback if provided.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • submitClose

         final static Unit submitClose(ApplicationCall call, ExchangesApi exchangesApi, SuspendFunction2<ApplicationCall, Close, Unit> callback, Close close)

        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.
        callback - The optional callback function to be executed after a successful close submission.