Buka konsol

FirebaseAdmin.Messaging.WebpushConfig

Represents the Webpush protocol options that can be included in a Message.

Summary

Properties

Data
IReadOnlyDictionary< string, string >
Gets or sets the Webpush data fields.
FcmOptions
Gets or sets the Webpush options included in the message.
Headers
IReadOnlyDictionary< string, string >
Gets or sets the Webpush HTTP headers.
Notification
Gets or sets the Webpush notification included in the message.

Properties

Data

IReadOnlyDictionary< string, string > Data

Gets or sets the Webpush data fields.

When set, overrides any data fields set via Message.Data.

FcmOptions

WebpushFcmOptions FcmOptions

Gets or sets the Webpush options included in the message.

Headers

IReadOnlyDictionary< string, string > Headers

Gets or sets the Webpush HTTP headers.

Refer Webpush specification for supported headers.

Notification

WebpushNotification Notification

Gets or sets the Webpush notification included in the message.