hasemdocu.blogg.se

Python event driven library
Python event driven library









python event driven library

Method to create id generation behaviour class eventsource.listener. JSONIdEvent ( target, action, value=None ) ¶Ĭlass that defines a JSON-checked Event with id generation id ¶ defines content_type to application/jsonĬlass eventsource.listener.overloads Event.get_value() and t_value(), and associates it using a property.JSONEvent ( target, action, value=None ) ¶ Class that defines a JSON-checked Event Method to create id generation behaviour id ¶ defines field id using property, using method get_id().EventId ¶ Class that defines an event with an id RETRY is the POST event that defines reconnection timeouts for the clientĬlass eventsource.listener.FINISH is the POST event that will end a communication started by LISTEN.LISTEN is the GET event that will open an event source communication.

python event driven library

value contains a list of every lines of the value to be parsedĬontent_type field is the Accept header value that is returned on new connectionsĪCTIONS contains the list of acceptable POST targets.action contains the name of the action (which shall be in ACTIONS).target is the token that matches an event source channel.Event ( target, action, value=None ) ¶Ĭlass that defines an event, its behaviour and the matching actions Members defined by base Event: This module provides an eventsource listener based on tornadoĬlass eventsource.listener. This module opens a new long polling connection on a listener, and waits for events to come.











Python event driven library