diff --git a/src/Tingle.Extensions.PushNotifications/Apple/ApnsNotifier.cs b/src/Tingle.Extensions.PushNotifications/Apple/ApnsNotifier.cs index 0bedb77..2adc048 100644 --- a/src/Tingle.Extensions.PushNotifications/Apple/ApnsNotifier.cs +++ b/src/Tingle.Extensions.PushNotifications/Apple/ApnsNotifier.cs @@ -24,7 +24,7 @@ public ApnsNotifier(HttpClient httpClient, IOptionsSnapshot /// Send a push notification via Apple Push Notification Service (APNS). /// The header for the notification /// The data - /// + /// The token to cancel the request. public virtual Task> SendAsync(ApnsMessageHeader header, ApnsMessageData data, CancellationToken cancellationToken = default) @@ -34,7 +34,7 @@ public virtual Task> Se /// The header for the notification /// The data /// Metadata about the to convert. - /// + /// The token to cancel the request. public virtual async Task> SendAsync(ApnsMessageHeader header, TData data, JsonTypeInfo jsonTypeInfo, diff --git a/src/Tingle.Extensions.PushNotifications/Firebase/Models/FirebaseRequest.cs b/src/Tingle.Extensions.PushNotifications/Firebase/Models/FirebaseRequest.cs index 2fdf377..faccb22 100644 --- a/src/Tingle.Extensions.PushNotifications/Firebase/Models/FirebaseRequest.cs +++ b/src/Tingle.Extensions.PushNotifications/Firebase/Models/FirebaseRequest.cs @@ -2,14 +2,10 @@ namespace Tingle.Extensions.PushNotifications.Firebase.Models; -/// -/// Represents a request payload sent to Firebase Cloud Messaging (FCM) -/// +/// Represents a request payload sent to Firebase Cloud Messaging (FCM). public class FirebaseRequest { - /// - /// - /// + /// Creates an instance of . /// Message to send. /// Flag for testing the request without actually delivering the message. public FirebaseRequest(FirebaseRequestMessage message, bool? validateOnly = null) @@ -18,15 +14,11 @@ public FirebaseRequest(FirebaseRequestMessage message, bool? validateOnly = null ValidateOnly = validateOnly; } - /// - /// Message to send. - /// + /// Message to send. [JsonPropertyName("message")] public FirebaseRequestMessage Message { get; set; } - /// - /// Flag for testing the request without actually delivering the message. - /// + /// Flag for testing the request without actually delivering the message. [JsonPropertyName("validate_only")] public bool? ValidateOnly { get; set; } } diff --git a/src/Tingle.Extensions.PushNotifications/ResourceResponseExtensions.cs b/src/Tingle.Extensions.PushNotifications/ResourceResponseExtensions.cs index a4184e6..8a72caa 100644 --- a/src/Tingle.Extensions.PushNotifications/ResourceResponseExtensions.cs +++ b/src/Tingle.Extensions.PushNotifications/ResourceResponseExtensions.cs @@ -5,9 +5,9 @@ namespace Tingle.Extensions.PushNotifications; /// Extensions for . public static class ResourceResponseExtensions { - /// Get the request id from the response headers. - /// - /// + /// Get the APNs request Id. + /// The instance. + /// Value for the apns-id header. public static string? GetApnsId(this ResourceResponseHeaders headers) { if (headers is null) throw new ArgumentNullException(nameof(headers));