We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd7b1f commit 4bd0165Copy full SHA for 4bd0165
example_tac.tac
@@ -0,0 +1,12 @@
1
+import twisted.application, twisted.web
2
+import pyapns.server
3
+
4
+application = twisted.application.service.Application("pyapns application")
5
6
+resource = twisted.web.resource.Resource()
7
+resource.putChild('', pyapns.server.APNSServer())
8
+site = twisted.web.server.Site(resource)
9
10
+server = twisted.application.internet.TCPServer(7077, site)
11
+server.setServiceParent(application)
12
0 commit comments