RobotsAndPencils / buford

A push notification delivery engine for the new HTTP/2 APNS service.
MIT License
475 stars 52 forks source link

Production mode add apns-topic #78

Closed imkos closed 8 years ago

imkos commented 8 years ago

------------------------------ push/service.go ------------------------------- index d1388e1..2ccdaee 100644 @@ -30,6 +30,7 @@ const maxPayload = 4096 // 4KB at most type Service struct { Host string Client *http.Client

nathany commented 8 years ago

I'm not sure if I understand what you are asking.

See header.go. If you specify a Topic in the headers, the call to headers.set(req.Header) will set the apns-topic for you.