GetUrlResponseAsync

Parent Previous Next

GetUrlResponseAsync

Description: the method returns the HTTP response of the specified URL

Syntax: GetUrlResponseAsync(string url)

Return value: int


Example:

int response = await tester.GetUrlResponseAsync("https://somovstudio.github.io/test.html");

await tester.AssertEqualsAsync(200, response);

Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator