0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Fix using custom fields in Req

This commit is contained in:
Loïc Hoguin 2019-09-06 12:25:02 +02:00
parent d14c59d905
commit 42eb6bae69
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
3 changed files with 16 additions and 2 deletions

View file

@ -160,7 +160,11 @@
charset => binary() | undefined,
range => {binary(), binary()
| [{non_neg_integer(), non_neg_integer() | infinity} | neg_integer()]},
websocket_version => 7 | 8 | 13
websocket_version => 7 | 8 | 13,
%% The user is encouraged to use the Req to store information
%% when no better solution is available.
_ => _
}.
-export_type([req/0]).