Highlighting the parts of HTTP response at IHttpListener
I am developing small extension and I need analyze all HTTP responses and highlight some of their parts. I noticed that I should use applyMarkers callback to highlight them, but I do not understand either I can use this callback inside IHttpListener. This callback does not add the markers to analyzed messageInfo but only returns new IHTTPRequestResponse object and the markers obviously are not applied to the current analyzed message. Can I do this in some way or the markers only works through scan issues?
Thanks a lot!
Unfortunately, applyMarkers isn’t really useful within IHttpListener. As you’ve noticed, it only works with scan issues.
What quite a few extensions do is report tentative issues if they detect potentially interesting request or responses. If that’s going to be too much volume in your case, you could implement IMessageEditorTab instead.