UtilWebIsUrlStatusCodeSucessful(Uri) Method
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.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool IsUrlStatusCodeSucessful(
Uri url
)
Public Shared Function IsUrlStatusCodeSucessful (
url As Uri
) As Boolean
Dim url As Uri
Dim returnValue As Boolean
returnValue = UtilWeb.IsUrlStatusCodeSucessful(url)
public:
static bool IsUrlStatusCodeSucessful(
Uri^ url
)
static member IsUrlStatusCodeSucessful :
url : Uri -> bool
No code example is currently available or this language may not be supported.
- url Uri
-
The url.
Boolean 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.