Application service module that provides OpenInsight HTTP communication features.
Syntax
Response = HTTPClient_Services(@Service, @Params)
Returns
The meaning of the response value depends on the service.
Parameters
Parameter | Description |
---|---|
@Service | The name of the service being requested. Required. |
@Params | Generic parameters. Refer to a specific service to determine the actual parameters used. |
Remarks
HTTPClient_Services
provides very useful application services so OpenInsight applications can make HTTP requests to other web servers. The response to each request is kept in memory until the next request is made, thus allowing the developer to get various HTTP response results when it is convenient (such as the body, status code, or response header values).
Services
Service | Description |
---|---|
SendHTTPRequest | Usage: Comments:
Returns: |
SetRequestHeaderFields | Usage: Comments: Returns: |
SetRequestHeaderField | Usage: Comments: Returns: |
GetRequestHeaderFields | Usage: Comments: Returns: |
GetRequestHeaderField | Usage: Comments: Returns: |
SetResponseHeaderField | Usage: Comments: Returns: |
GetResponseHeaderFields | Usage: Comments: Returns: |
GetResponseHeaderField | Usage: Comments: Returns: |
SetResponseStatusCode | Usage: Comments: Returns: |
GetResponseStatusCode | Usage: Comments: Returns: |
SetResponseStatusPhrase | Usage: Comments: Returns: |
GetResponseStatusPhrase | Usage: Comments: Returns: |
SetResponseBody | Usage: Comments: Returns: |
GetResponseBody | Usage: Comments: Returns: |
SetTimeoutDuration | Usage: Comments: Returns: |
GetTimeoutDuration | Usage: Comments: Returns: |
ClearResponseSettings | Usage: Comments: Returns: |
ClearRequestSettings | Usage: Comments: Returns: |
Params
The proper use of the generic arguments are defined in the definition of each service above.