[]
Represents the result of a web request, including the success status, the response content, any connection failure, and the HTTP status code.
public class WebRequestResult
public WebRequestResult()
Gets or sets a value indicating whether the web request failed due to a connection issue.
public bool IsConnectionFailed { get; set; }
Gets or sets the response content from the web request, if the request was successful. The content is stored as a byte array to preserve the original data format.
public byte[] ResponseContent { get; set; }
Gets or sets the HTTP status code of the web request.
public int StatusCode { get; set; }