💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# SetHeader `SetHeader(Key, Value)` `Key-{String} Value-{Variant}` 添加/替换要与请求一起发送的标头。 `SetHeader`应该用于只能在请求中包含一次的标头(例如授权,Content-Type等) ``` Dim Request As New WebRequest Request.AddHeader "Authorization", "A..." Request.AddHeader "Authorization", "B..." '// -> Headers: '// Authorization: A... '// Authorization: B... Request.SetHeader "Authorization", "C..." '// -> Headers: '// Authorization: C...。 ```