Package apiclient :: Module push :: Class WebhookChannel
[hide private]
[frames] | no frames]

Class WebhookChannel

source code


Channel for registering web hook notifications.

Instance Methods [hide private]
 
__init__(self, url, app_engine=False)
Create a new WebhookChannel
source code

Inherited from Channel: as_header_value, write_header

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, url, app_engine=False)
(Constructor)

source code 
Create a new WebhookChannel

Args:
  url: str, URL to post notifications to.
  app_engine: bool, default=False, whether the destination for the
  notifications is an App Engine application.

Overrides: object.__init__