sendHTTPRequest

Issues an HTTP request by sending the details to the persistent querier thread, then returns the results after they become available in the shared associative array.

version(WithBashPlugin)
private
sendHTTPRequest
(,
const string url
,
const bool recursing = false
,
int id = 0
,
const string caller = __FUNCTION__
)

Parameters

plugin BashPlugin

The current BashPlugin.

url string

URL string to fetch.

recursing bool

Whether or not this is a recursive call.

id int

Optional int id key to BashPlugin.lookupBucket.

caller string

Optional name of the calling function.

Return Value

A BashLookupResult with contents based on what was read from the URL.