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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file wproxy-0.0.2.tar.gz.

File metadata

  • Download URL: wproxy-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for wproxy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 95ca6caa6e13f8919e3f4f718b8fe19e41ccdd2ec99092bbf044866497a81c6e
MD5 1c7995b8f1634063df54709460e8cedf
BLAKE2b-256 2bc1247ce4f56ce020309a29ded870d71fd186bd2b754195083441a34ff463d5

See more details on using hashes here.

File details

Details for the file wproxy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wproxy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for wproxy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b63d1ad3224cecf29c1dd180b584791a4eed58d3e877516732d1b10866d3049
MD5 85a7120847147e77cbe1ca5061cc7d33
BLAKE2b-256 e61e99cec2845eff488d2668f6d5a5b35f82f74a92d087f7f9bcd7c52022df34

See more details on using hashes here.

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