aboutsummaryrefslogtreecommitdiffstats
path: root/examples/eventsource/priv
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-10-02 15:23:23 +0200
committerLoïc Hoguin <[email protected]>2019-10-02 15:23:23 +0200
commitf673e191b30ab440440c924476bb03000fff52c6 (patch)
tree0f74c7940c1a8f38ef1ca4e5e86552924072eccf /examples/eventsource/priv
parenta14ecf19c68ba5b9eb828a41356b1adbc1c5739c (diff)
downloadcowboy-f673e191b30ab440440c924476bb03000fff52c6.tar.gz
cowboy-f673e191b30ab440440c924476bb03000fff52c6.tar.bz2
cowboy-f673e191b30ab440440c924476bb03000fff52c6.zip
Add {set_options, #{metrics_user_data := Map}}
This allows giving custom metadata to the metrics stream handler. This can be useful to for example provide the name of the module handling the request which is only known after routing. But any user data is allowed. When called multiple times the user data maps are merged.
Diffstat (limited to 'examples/eventsource/priv')
0 files changed, 0 insertions, 0 deletions