/// <summary> /// 设置媒体处理通知, 在设置Notification时会对endpoint进行校验, 设置时会对endpoint发一条SubscriptionConfirmation(x-jdcloud-message-type头)的通知, 要求把Message内容进行base64编码返回给系统(body)进行校验 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public async Task <SetNotificationResponse> SetNotification(SetNotificationRequest request) { return(await new SetNotificationExecutor().Client(this).Execute <SetNotificationResponse, SetNotificationResult, SetNotificationRequest>(request).ConfigureAwait(false)); }
/// <summary> /// 设置媒体处理通知, 在设置Notification时会对endpoint进行校验, 设置时会对endpoint发一条SubscriptionConfirmation(x-jdcloud-message-type头)的通知, 要求把Message内容进行base64编码返回给系统(body)进行校验 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public SetNotificationResponse SetNotification(SetNotificationRequest request) { return(new SetNotificationExecutor().Client(this).Execute <SetNotificationResponse, SetNotificationResult, SetNotificationRequest>(request)); }