riverside v1.0.1 Riverside.PeerAddress

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

Link to this type t()
t() :: %Riverside.PeerAddress{address: String.t, port: :inet.port_number, x_forwarded_for: String.t}

Link to this section Functions

Pick a peer’s address from a cowboy request.