I try to get the response content from a flash post request using the OnResourceResponse function of the IRequestHandler
Public Function OnResourceResponse(...
If Not IsNothing(request.PostData) Then
Dim elements = request.PostData.Elements
Dim charSet = request.GetCharSet()
For Each element As IPostDataElement In elements
If element.Type = PostDataElementType.Bytes Then
Dim body = PostDataExtensions.GetBody(element, charSet)
Debug.WriteLine(body)
End If
Next
End If
I can get the post request data this way - but the response data is always empty. I've found solutions using the ISchemeHandler and grabbing the stream of the response. But ISchemeHandler seems to be moved from CefSharp in the current version.