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.