class HTTPProxy

Overview

See https://github.com/crystal-lang/crystal/issues/2963

Defined in:

invidious/helpers/proxy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(proxy_host : String, proxy_port : Int32 = 80, options : Hash(Symbol, String) = {} of Symbol => String) #

[View source]

Instance Method Detail

def open(host, port, tls = nil, connection_options = {} of Symbol => Float64 | Nil) #

[View source]
def options : Hash(Symbol, String) #

[View source]
def proxy_host : String #

[View source]
def proxy_port : Int32 #

[View source]
def tls : OpenSSL::SSL::Context::Client | Nil #

[View source]