-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
assign_as
option for Plug.RequestId (#1172)
- `:assign_as` - The name of the key that will be used to store the discovered or generated request id in `conn.private`. If not provided, the request id will not be stored. ```elixir plug Plug.RequestId, assign_as: :plug_request_id ``` Resolves: #1171
- Loading branch information
1 parent
8f1bf1c
commit 64087f6
Showing
2 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters