Skip to content

add *withToken interface - #4

Open
weizhiyun123 wants to merge 2 commits into
masterfrom
feature_with_yam_token
Open

weizhiyun123 wants to merge 2 commits into
masterfrom
feature_with_yam_token

Conversation

@weizhiyun123

Copy link
Copy Markdown
Contributor

No description provided.

}

public MqttExtendedackMessage(ulong msgID, string topic, byte[] payload, QoS qos, int ttl, string apn_json)
public MqttExtendedackMessage(ulong msgID, string topic, byte[] payload, QoS qos, int ttl, string apn_json, string third_party_push)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里原有接口被删除,实际上并不符合我们的sdk规范,使用新sdk的客户需要独立适配

Comment thread MqttLib/IMqttExtend.cs
/// <param name="apn_json">APNS</param>
/// <returns>Message ID</returns>
ulong Publish2(string topic, MqttPayload payload, QoS qos, int ttl, string apn_json);
ulong Publish2(string topic, MqttPayload payload, QoS qos, int ttl, string apn_json, string third_party_push);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同样的问题,原有接口被删除

Comment thread MqttLib/IMqttExtend.cs
/// <returns>Message ID</returns>
ulong Publish2Alias(string alias, MqttPayload payload, QoS qos, int ttl, string apn_json);
ulong Publish2Alias(string alias, MqttPayload payload, QoS qos, int ttl, string apn_json, string third_party_push);
ulong Publish2ToAliasWithToken(string alias, string token, MqttPayload payload, QoS qos, int ttl, string apn_json, string third_party_push);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原有接口被删除。并且token应该已经不再使用,因为yam似乎并没有真正上线

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants