MCPcopy Index your code
hub / github.com/node-apn/node-apn / builtNotification

Function builtNotification

test/client.js:7–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5const EventEmitter = require("events");
6
7function builtNotification() {
8 return {
9 headers: {},
10 body: JSON.stringify({ aps: { badge: 1 } }),
11 };
12}
13
14function FakeStream(deviceId, statusCode, response) {
15 const fakeStream = new stream.Transform({

Callers 1

client.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…