class

KemalWAF::ProxyClient

Inherits Reference / Object

Upstream proxy client

Constants

Log = ::Log.for("proxy_client")

Constructors

new(upstream_url : String | Nil = nil, custom_host_header : String = "", preserve_original_host : Bool = false, pool_manager : ConnectionPoolManager | Nil = nil, max_retries : Int32 = 3)
Source

Instance methods

forward(request : HTTP::Request, body : String | Nil, upstream_url : String | Nil = nil, custom_host_header : String | Nil = nil, preserve_original_host : Bool | Nil = nil, verify_ssl : Bool | Nil = nil) : HTTP::Client::Response

Dinamik upstream ile forward

Source