httpGetReasonPhrase

Availability

This routine is available starting with SIL Engine™ 4.1.0.

Syntax

httpGetReasonPhrase()

Description

Retrieves the HTTP reason phrase of the latest HTTP response. For instance, "OK", "Not Found", "Unsupported Media Type", and so on.

Parameters

none

Return type

string

The reason phrase extracted from the latest HTTP response

Example

string reasonPh = httpGetReasonPhrase();
print("Last response: " + reasonPh);

See also