View Source WebPushEx.Request (web_push_ex v0.1.0)

Request details ready for sending to the subscription endpoint.

Summary

Types

Encrypted Content Encoding body.

URI to send the POST request to.

Map of headers to include with the POST request.

t()

Types

@type body() :: binary()

Encrypted Content Encoding body.

@type endpoint() :: URI.t()

URI to send the POST request to.

@type headers() :: %{required(String.t()) => String.t()}

Map of headers to include with the POST request.

@type t() :: %WebPushEx.Request{
  body: body(),
  endpoint: endpoint(),
  headers: headers()
}