feat: make body editable on proxy client req listeners
This commit is contained in:
@@ -51,7 +51,7 @@ void Spoofer::registerListeners(Proxy* proxy)
|
||||
this->serverResponseHandler(url, body, respHeaders);
|
||||
});
|
||||
|
||||
proxy->OnClientRequest.addListener([this](std::string& url, const std::string& body, std::string& reqHeaders) {
|
||||
proxy->OnClientRequest.addListener([this](const std::string& url, std::string& body, std::string& reqHeaders) {
|
||||
this->clientRequestHandler(url, body, reqHeaders);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user