WebBrowser::AsyncSendRawRequest (open)

Sends a asynchronous request. Make sure not to run another request simulateously on this browser object.

Syntax

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

ASYNC FUNCTION AsyncSendRawRequest(STRING method, STRING url, RECORD ARRAY headers, BLOB request_body, RECORD options)

Parameters

STRING method

HTTP method to use

STRING url

URL for the request

RECORD ARRAY headers

List of headers

STRING field

Header field name

STRING value

Header value

BLOB request_body

Request body

RECORD options

Options

STRING connecthost

Overrides the host to connect to

INTEGER connectport

Overrides the port to connect to

BOOLEAN connectssl

Overrides whether to use SSL

Return value

TRUE if the request was succesfull