类库说明文档
HttpClient Constructor (String, HttpClientContext) |
构造新的HttpClient实例
Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public HttpClient( string url, HttpClientContext context )
Parameters
- url
- Type: SystemString
要获取的资源的地址 - context
- Type: DCSoft.Utility.WebHttpClientContext
Cookie及Referer
See Also