Riverside.PeerAddress (riverside v2.2.1)
Represents a peer's address
This data has following three field
- address
 - port
 - x_forwarded_for
 
Link to this section Summary
Functions
Pick a peer's address from a cowboy request.
Link to this section Types
Specs
t() :: %Riverside.PeerAddress{
  address: String.t(),
  port: :inet.port_number(),
  x_forwarded_for: String.t()
}
      Link to this section Functions
    
      
      Link to this function
    
    
  gather(req)
Specs
gather(:cowboy_req.req()) :: t()
Pick a peer's address from a cowboy request.