connect-proxy alternatives and similar shards
Based on the "Network Protocols" category.
Alternatively, view connect-proxy alternatives based on common mentions on social networks and blogs.
-
crystal-mqtt
Crystal lang implementation of the MQTT protocol, a lightweight protocol for publish/subscribe messaging -
crystal-json-socket
JSON-socket client & server implementation. Inspired by and compatible with sebastianseilund/node-json-socket
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of connect-proxy or a related project?
README
Connect Proxy
A simple implementation of the connect method for HTTP tunnelling. Most commonly used in HTTP proxy servers.
Usage
The most common usage of this shard is to use the crystal ::HTTP::Client
via a proxy server
host = URI.parse("https://www.google.com")
response = ConnectProxy::HTTPClient.new(host) do |client|
client.exec("GET", "/")
end
response.success?
By default the HTTP client will pick up the https_proxy
or http_proxy
environment variables and use the URLs configured in there.
However you can override the environment or provide your own proxy server.
host = URI.parse("https://www.google.com")
client = ConnectProxy::HTTPClient.new(host)
proxy = ConnectProxy.new("134.209.219.234", 80, {username: "admin", password: "pass"})
client.set_proxy(proxy)
response = client.exec("GET", "/")
response.success?