Correct way to request message history from Openfire

Hello,

We are currently developing in Xamarin.iOS and using sharp.Xmpp client. Our Openfire version is 4.0.3 and we’ve installed the plugins named; Monitoring Service(1.5.4) and Search(1.7.1). We could’t find a good example around, so maybe you guys know how? Does Monitoring Service stores and sends message history? (btw we’re going to upgrade Openfire to 4.1.3 soon)

Any help is appreciated, thanks have a great one!

Plugin’s readme tells that it uses XEP-0136 standard for retrieving archived messages. Maybe that will be a hint.