Skip to main content

Websocket proxy

Project description

wproxy

A Python 3 websocket proxy

Installing Through PyPi

pip3 install wproxy

Using the library

from wproxy import WProxy

this_proxy = WProxy(
    host="0.0.0.0",
    port=9002,
    url="wss://urltoproxy.com",
    ssl_cert="cert.pem", # optional
    ssl_key="priv.pem", # optional
)

this_proxy.run()

Running the console script

wproxy --url wss://urltoproxy.com:8888 --port 9002 --headers "Sec-WebSocket-Protocol:sip" --ssl_cert fullchain1.pem --ssl_key privkey1.pem

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wproxy-0.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

wproxy-0.0.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page