ILXHttpRequest

new ILXHttpRequest(options, responseCallback)→ {http.ClientRequest}

Since:
  • BIP-IP TMOS 13.0

The ILXHttpRequest class is a wrapper around the Node.js http.request class. The ILXHttpRequest class uses an ` <ILXStream.html#connect>`__

ILXStream.connect()

to create the socket to the specified host or virtual server. Because and ILXStream object is used as the socket the connection goes through the BigIP TMM and not the Linux TCP stack.

Parameters:

Name Type Description
options
object

See the documentation for Node.js `http.request() <http s://nodejs.org/api/ht tp.html#http_http_req uest_options_callback >`__. For a list of options that the ILXHttpRequest object will use to connect to the host see the ` <ILXStream.html#con nect>`__

ILXStream#connect

documentation.

responseCallback
function See the documentation for the Node.js `http.request() <http s://nodejs.org/api/ht tp.html#http_http_req uest_options_callback >`__.

Returns:

Type Description
http.ClientRequest Returns http.ClientRequest object.

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.