Table of Contents

Class ByteDanceMicroAppClientOptions

Namespace
SKIT.FlurlHttpClient.ByteDance.MicroApp
Assembly
DH.SKIT.FlurlHttpClient.ByteDance.MicroApp.dll

一个用于构造 ByteDanceMicroAppClient 时使用的配置项。

public class ByteDanceMicroAppClientOptions
Inheritance
ByteDanceMicroAppClientOptions
Inherited Members

Constructors

ByteDanceMicroAppClientOptions()

public ByteDanceMicroAppClientOptions()

Properties

AppId

获取或设置字节小程序 AppId。

public string AppId { get; set; }

Property Value

string

AppSecret

获取或设置字节小程序 AppSecret。

public string AppSecret { get; set; }

Property Value

string

ECPaySalt

获取或设置用于担保支付请求签名的密钥。

public string? ECPaySalt { get; set; }

Property Value

string

Endpoint

获取或设置字节小程序 API 入口点。

默认值:API_MINIAPP

public string Endpoint { get; set; }

Property Value

string

EndpointForWebcastAPI

获取或设置字节小程序直播小玩法 API 入口点。

默认值:DEFAULT

public string EndpointForWebcastAPI { get; set; }

Property Value

string

PushEncodingAESKey

获取或设置头条服务器推送的 EncodingAESKey。

public string? PushEncodingAESKey { get; set; }

Property Value

string

PushToken

获取或设置头条服务器推送的 Token。

public string? PushToken { get; set; }

Property Value

string

Timeout

获取或设置请求超时时间(单位:毫秒)。

默认值:30000

public int Timeout { get; set; }

Property Value

int