I'm trying to write a NWProtocolFramerImplementation class that will be channeled through a Framer wrapper. There are still some parts I need figuring out.
- For
handleOutput(framer: message: messageLength: isComplete), what do the last two parameters do? DoesisCompleterefer to the end of the current conversation, or the entire connection? Why would we submit amessageLengthif the data size should already be implied withinmessage? - If I parse by line breaks, is there a way to indicate if the latest line is the last of the current conversation, either input or output?