Get the full message appServer_NewRequestReceived event

Feb 17, 2016 at 8:58 AM
Hello,

How do I get the full message appServer_NewRequestReceived event. For example, if I send a message "0000858 5521113 GT855500" in requestInfo.Key is "0000858" and requestInfo.Body comes "5521113 GT855500".
I wonder if there is a way where you can get the complete message passed on telnet?

Thanks for listening
Feb 17, 2016 at 10:44 AM
Hello guys

I managed to solve as follows:

public class MyAppServer : AppServer<AppSession>
{
    public MyAppServer()
        : base(new CommandLineReceiveFilterFactory(Encoding.Default, new CustomStringParser()))
    {

    }
}

public class CustomStringParser : IRequestInfoParser<StringRequestInfo>
{
    public StringRequestInfo ParseRequestInfo(string source)
    {
        return new StringRequestInfo("", source, new []{""});
    }
}
Thank you all