💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 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 ```