Rate this page:

httpRequest

Copy URL
httpRequest(url: 

string

,
callback:

Function

,
options:

HttpRequestOptions

):

void

Performs a regular HTTP request. GET is the default request method. See VoxEngine Reference for the limits. TCP connect timeout is 6 seconds and total request timeout is 90 seconds.

Parameters

  • url:

    string

    HTTP url to query

  • callback:

    Function

    Function to be called on completion. The function receives a response object of type HttpRequestResult as a first argument

  • Optional

    Advanced settings

Returns

  • type:

    void