plexy v0.3.3 Plexy.RequestId

A plug that reads from specified :req_headers for given request ids, prepends a new generated one, and adds all as a comma seperated list to the specified res_header.

Link to this section Summary

Functions

Reads :res_headers, injects a new uuid, than adds them all to the specified :res_headers and the conn's :assigns

Initializes the plug. Returns a configuration map with specified :req_headers and :res_headers for use by the other functions

Link to this section Functions

Link to this function

call(conn, config)

Reads :res_headers, injects a new uuid, than adds them all to the specified :res_headers and the conn's :assigns

Initializes the plug. Returns a configuration map with specified :req_headers and :res_headers for use by the other functions.