The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

byte[] to IHttpRequestResponse

manuel | Last updated: Nov 16, 2016 02:02PM UTC

Hello, I have two byte arrays with a HTTP request and response, and I would like to create a IHttpRequestResponse containing them both, I have been trying to do it with no success, could someone help me please? Thank you

PortSwigger Agent | Last updated: Nov 16, 2016 04:33PM UTC

Create your own class that implements IHttpRequestResponse. Create fields for all required values, and return these in your implementation of the getter methods. Pass the field values in via the constructor and assign them to the fields.

Burp User | Last updated: Nov 16, 2016 08:41PM UTC