public virtual void Init(YunpianClient clnt) { if (clnt == null) { return; } _clnt = clnt; Apikey = clnt.Conf().Apikey(); Version = clnt.Conf().Get(Const.YpVersion, Const.VersionV2); Charset = clnt.Conf().Get(Const.HttpCharset, Const.HttpCharsetDefault); }
public override void Init(YunpianClient clnt) { base.Init(clnt); Name = ApiName; Host = clnt.Conf().Get(Const.YpVoiceHost, "https://voice.yunpian.com"); }