BMLTCommunicatorDataSinkProtocol

protocol BMLTCommunicatorDataSinkProtocol : AnyObject

This defines a protocol for a communicator delegate, which receives the responses.

  • The response callback.

    Declaration

    Swift

    func responseData(_ inHandler: BMLTCommunicator?, inResponseData: Any, inError: Error?, inRefCon: AnyObject?)

    Parameters

    inHandler

    The handler for this call.

    inResponseData

    The data from the URL request. If nil, the call failed to produce. Check the handler’s error data member.

    inError

    Any errors that occurred

    inRefCon

    The data/object passed in via the ‘refCon’ parameter in the initializer.