🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# WebClient `WebClient`执行请求并处理响应,并负责请求之间共享的功能,例如身份验证,代理配置和安全性。 用法: ``` Dim Client As New WebClient Client.BaseUrl = "https://www.example.com/api/" Dim Auth As New HttpBasicAuthenticator Auth.Setup Username, Password Set Client.Authenticator = Auth Dim Request As New WebRequest Dim Response As WebResponse '// Setup WebRequest... Set Response = Client.Execute(Request) '// -> Uses Http Basic authentication and appends Request.Resource to BaseUrl ```