fromMessage

Converts a given Message object to a RequestPresentation object.

Return

The converted RequestPresentation object.

Parameters

fromMessage

The Message object to convert.

Throws

if the Message object does not represent the correct protocol or if it is missing the "from" and "to" fields.