Home Reference Source
import WebPushKey from '~/models/Request/WebPushKey.js'
public class | source

WebPushKey

Extends:

Request → WebPushKey

Obtains the Web Push certificate/public key

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

format()

Inherited Summary

From class Request
protected
public

cancel()

Cancels the request.

public

format(data: Object): Object

Formats the request object and returns an object of Request<T>'s T.

public

async run(o: Object): Promise

Performs the request

Public Constructors

public constructor() source

Creates request given path. Provide options as object

Override:

Request#constructor

Public Methods

public format() source

Formats the request object and returns an object of Request<T>'s T.

Override:

Request#format