Class ByteDanceMicroAppRequest
- Namespace
- SKIT.FlurlHttpClient.ByteDance.MicroApp
- Assembly
- DH.SKIT.FlurlHttpClient.ByteDance.MicroApp.dll
字节小程序 API 请求的基类。
public abstract class ByteDanceMicroAppRequest : ICommonRequest
- Inheritance
-
ByteDanceMicroAppRequest
- Implements
-
ICommonRequest
- Derived
- Inherited Members
Constructors
ByteDanceMicroAppRequest()
protected ByteDanceMicroAppRequest()
Properties
AccessToken
获取或设置字节小程序的 AccessToken。
注意:部分第三方平台的接口中该字段表示授权方的 AuthorizerAccessToken。
[JsonIgnore]
public virtual string? AccessToken { get; set; }
Property Value
Timeout
获取或设置请求超时时间(单位:毫秒)。如果不指定将使用构造 ByteDanceMicroAppClient 时的 Timeout 参数,这在需要指定特定耗时请求(比如上传或下载文件)的超时时间时很有用。
[JsonIgnore]
public virtual int? Timeout { get; set; }
Property Value
- int?