WebBrowser::onrequest (open)

Called before every request, can be used to modify the request Signature: FUNCTION onrequest(RECORD data)

  • url URI
  • method HTTP method
  • headers List of headers
  • body Body Return: modified record

Syntax

LOADLIB "wh::internet/webbrowser.whlib";

FUNCTION PTR onrequest
(FUNCTION PTR: