WebResponseValidatorValidateJavaScriptResponse Method |
Namespace:
NScrape
Assembly:
NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax public static JavaScriptWebResponse ValidateJavaScriptResponse(
WebResponse response,
string message
)
Public Shared Function ValidateJavaScriptResponse (
response As WebResponse,
message As String
) As JavaScriptWebResponse
public:
static JavaScriptWebResponse^ ValidateJavaScriptResponse(
WebResponse^ response,
String^ message
)
static member ValidateJavaScriptResponse :
response : WebResponse *
message : string -> JavaScriptWebResponse
Parameters
- response
- Type: NScrapeWebResponse
The web response to be validated. - message
- Type: SystemString
The error message to be used to generate an exception if the validation fails.
Return Value
Type:
JavaScriptWebResponseThe web response cast as a
JavaScriptWebResponse.
See Also