Skip to content

Allow Plug Options to Pull Out Sub-Keys

This code will pull out the remote IP and store it within the Process Registry for the HTTP request

plug Eidetic.Plug, [:remote_ip]

We also want to allow the user to specify items further within the conn object, such as get_in(conn, [:req_headers, :authorization])