Help Center

CWinHttpRequest.GetStatusTextmethod

Retrieves the HTTP status text.

COMmethoddocumented

Syntax

FUNCTION GetStatusText () AS DWSTRING

Return value

A DWSTRING containing the HTTP status text.

Description

Retrieves the HTTP status code from the last response.

Remarks

Retrieves the text portion of the server response line, making available the "user-friendly" equivalent to the numeric HTTP status code. The results of this property are valid only after the Send method has successfully completed.

Reference

  • Defined in AfxNova/CWinHttpRequest.inc:457
  • Documented in COM/CWinHttpRequest Class.md
  • Topic: CWinHttpRequest Class