mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix the type spec for path_tokens, a list of *non empty* strings.
This commit is contained in:
parent
06ff8607ed
commit
d4c071c2d0
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
-type port_number() :: 0..65535.
|
||||
|
||||
-type bindings() :: list({Key::atom(), Value::string()}).
|
||||
-type path_tokens() :: list(string()).
|
||||
-type path_tokens() :: list(nonempty_string()).
|
||||
-type match() :: '_' | '*' | list(string() | '_' | atom()).
|
||||
|
||||
-type dispatch_rules() :: {Host::match(), list({Path::match(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue