MLLP.EchoDispatcher (mllp v0.8.4)

Echo dispatcher informs the user that a dispatch function was not set and returns an application_accept or application_reject depending on if the message is valid (String) or not. Useful for debugging and serves as an example for writing your own dispatcher.

Link to this section Summary

Link to this section Functions

Link to this function

dispatch(atom, message, state)

Specs

dispatch(:mllp_hl7 | :mllp_unknown, binary(), MLLP.FramingContext.t()) ::
  {:ok, MLLP.FramingContext.t()}

Callback implementation for MLLP.Dispatcher.dispatch/3.