Trees | Indices | Help |
---|
|
Information about a subscription.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
|
|
|||
Inherited from |
|
Create a new Subscription.
|
Creates a subscription and attaches it to a request. Args: request: An http.HttpRequest to modify for making a subscription. channel: A apiclient.push.Channel describing the subscription to create. client_token: (optional) client token to verify the notification. Returns: New subscription object. |
Alternate constructor to create a subscription from a channel. Args: channel: A apiclient.push.Channel describing the subscription to create. client_token: (optional) client token to verify the notification. Returns: New subscription object. |
Verifies that a webhook notification has the correct client_token. Args: headers: dict of request headers for a push notification. Returns: Boolean value indicating whether the notification is verified. |
Subscribe header value.
|
Subscription ID header value.
|
Topic ID header value.
|
Topic URI header value.
|
Client Token header value.
|
Event Type header value.
|
Unsuscribe header value.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Mar 7 10:31:24 2013 | http://epydoc.sourceforge.net |