Skip to content

leeyunjai/tornado-rest-server-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tornado-server-simple

This is simple tornado server.(Text and Image communication example)

  1. ImageHandler: Image send -> receive -> send
  2. TextHandler: Echo server

pre-install

pip3 install tornado

Usage

  1. server

tornado_api_server.py [-h] [--port PORT]

optional arguments: -h, --help show this help message and exit --port PORT Port Number

  1. client

client.py [-h] [--type TYPE] [--url URL] [--snd_file SND_FILE] [--rcv_file RCV_FILE] [--message MESSAGE]

optional arguments: -h, --help show this help message and exit --type TYPE TextHandler or ImageHandler --url URL Server URL(http://IPADDRESS:PORT) --snd_file SND_FILE Only ImageHandler --rcv_file RCV_FILE Only ImageHandler --message MESSAGE Only TextHandler

About

simple tornado server (Text and Image communication example)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages