We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var request = new HttpRequest("http://www.fayelf.com").SetMethod(HttpMethod.Get); var response =await request.GetResponseAsync(); if(response.Status == 200){ Console.WriteLine("Html:"+response.Html); }else{ Console.WriteLine("请求失败."); }
The text was updated successfully, but these errors were encountered:
var request = new HttpRequest("[http://www.fayelf.com").SetMethod(HttpMethod.Get); var response =await request.GetResponseAsync(); if(response.Status == 200){ Console.WriteLine("Html:"+response.Html); }else{ Console.WriteLine("请求失败."); }
也可以直接使用 var result = HttpHelper.GetHtml(new HttpRequest("Http://www.fayelf.com")); var result =HttpHelper.GetHtml("http://www.fayelf.com");
Sorry, something went wrong.
No branches or pull requests
var request = new HttpRequest("http://www.fayelf.com").SetMethod(HttpMethod.Get);
var response =await request.GetResponseAsync();
if(response.Status == 200){
Console.WriteLine("Html:"+response.Html);
}else{
Console.WriteLine("请求失败.");
}
The text was updated successfully, but these errors were encountered: