struct
Runcobo::RequestInfo
- Runcobo::RequestInfo
- Struct
- Value
- Object
Overview
Effective request metadata, resolved once from the transport and trusted headers.
Defined in:
runcobo/request_info.crConstructors
Instance Method Summary
- #base_url : String
- #host : String
- #host_with_port : String
- #port : Int32
- #protocol : String
- #remote_ip : String | Nil
- #scheme : String
- #ssl? : Bool
Constructor Detail
def self.new(request : HTTP::Request, *, peer : Socket::IPAddress | Nil = nil, local : Socket::IPAddress | Nil = nil, secure : Bool = false, proxy_config : ProxyConfig = ProxyConfig.new)
#