Skip to content

toihrk/tornado-st

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tornado.stream

Install

move stream.py into Installed Tornado directory.

Example

mv stream.py /usr/local/lib/python2.7/site-packages/tornado-2.0-py2.7.egg/tornado/

Usage

import tornado.stream
..
class ExampleStreamHandler(tornado.stream.StreamHandler):
	def open(self):
		print "open"
		self.write_message("Hello, Python!")
	def on_close(self):
		print "close"

Using the Same "tornado.websocket".

tornado.websocket

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published