HomePhabricator
Diffusion Comm 8336f3d3d3c6

[Tunnelbroker] implement creating APNs client

Description

[Tunnelbroker] implement creating APNs client

Summary:
Implementing APNs client which will handle sending notifs.

After some research, I discovered that opening new connections for every request could be treated as a DoS attack. However, reqwest can handle that, if we use the same Client and when making a request it will use keep-alive connection pooling.

Depends on D12610

Test Plan: Test creating client with adding config args from command-line args.

Reviewers: bartek, marcin

Reviewed By: bartek

Subscribers: ashoat, tomek

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

Details

Provenance
kamilAuthored on Jun 28 2024, 4:58 AM
Reviewer
bartek
Differential Revision
D12611: [Tunnelbroker] implement creating APNs client
Parents
rCOMM228893b1fd5a: [Tunnelbroker] implement APNs Token generation and lifetime
Branches
Unknown
Tags
Unknown