HomePhabricator
Diffusion Comm 493327ac8540

[Tunnelbroker] implement creating APNs headers

Description

[Tunnelbroker] implement creating APNs headers

Summary:
Implementing building request headers.

Apple docs: Send a POST request to APNs.

Not sure about PushType - perhaps we can just use String but I prefer more detailed type definition. (cc. @marcin).

Depends on D12611

Test Plan: Tested calling this function with different params

Reviewers: bartek, marcin

Reviewed By: bartek, marcin

Subscribers: ashoat, tomek, marcin

Differential Revision: https://phab.comm.dev/D12612

Details

Provenance
kamilAuthored on Jun 28 2024, 5:18 AM
Reviewer
bartek
Differential Revision
D12612: [Tunnelbroker] implement creating APNs headers
Parents
rCOMM8336f3d3d3c6: [Tunnelbroker] implement creating APNs client
Branches
Unknown
Tags
Unknown