Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

madnerdorg/post2ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is post2ws

This application is a websocket client that can be used with HTTP post request. It uses Twisted This is useful if you want to expose local websocket using a simple entry point, or control websocket with client that can't connect with websocket.
This is of course slower than using a persistant connection.

Applications

Tasker

While you can control non-ssl websocket with tasker and some javascript, this doesn't works with SSL websocket. You can use

  • Create a task
  • Network/Post HTTP
  • Data/File
url=wss://localhost:42001
password=HorseBatteryStaple (optional) 
message="/on"

Arguments

optional arguments:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  (default:443)
  -l PASSWORD, --password PASSWORD Relay Password

About

Post to Websocket relay

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages