UtilWebIsUrlStatusCodeSucessfulAsync(Uri) Method

Asynchronously sends a GET request to the specified url and returns a value that indicates whether the http status code of the server response was successful.

A response is considered successful if http status code is in range of 200-299.

To determine whether the specified url is available / online, call IsUrlAvailable(String) function.

Definition

Namespace: DevCase.Core.Networking.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Task<bool> IsUrlStatusCodeSucessfulAsync(
	Uri url
)

Parameters

url  Uri
The url.

Return Value

TaskBoolean
if the http status code of the server response was successful, otherwise.

A response is considered successful if http status code is in range of 200-299.

See Also