HttpClientEx.AddAPIAuthorization(HttpClient, String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static System.Threading.Tasks.Task AddAPIAuthorization (this System.Net.Http.HttpClient client, string appId = default, string password = default);
static member AddAPIAuthorization : System.Net.Http.HttpClient * string * string -> System.Threading.Tasks.Task
<Extension()>
Public Function AddAPIAuthorization (client As HttpClient, Optional appId As String = Nothing, Optional password As String = Nothing) As Task
参数
- client
- HttpClient
- appId
- String
- password
- String