aboutsummaryrefslogtreecommitdiffstats
path: root/include/types.hrl
AgeCommit message (Collapse)Author
2011-04-18Remove the include/types.hrl file.Loïc Hoguin
2011-04-18Replace port_number() by ip_port() from kernel/include/inet.hrl.Loïc Hoguin
2011-04-18Replace posix() by atom(), for now.Loïc Hoguin
The type isn't exported by OTP so we don't win much. Also, inet.erl and file.erl define posix() différently, so OTP needs to stop being so confuse in the first place before we can attempt to use it properly.
2011-04-18Move the type application_start_type() into cowboy_app.Loïc Hoguin
2011-04-18Move the dispatcher related types into cowboy_dispatcher.Loïc Hoguin
2011-04-18Rename match() into match_rule().Loïc Hoguin
2011-04-18Rename dispatch() into dispatch_rules().Loïc Hoguin
2011-04-18Rename dispatch_rules() into dispatch_rule().Loïc Hoguin
2011-04-18Move HTTP types definitions to include/http.hrl (for now).Loïc Hoguin
2011-04-18Move the opaque type sslsocket() out of include/types.hrl.Loïc Hoguin
2011-04-18Use the inet:socket() type instead of the user-defined one.Loïc Hoguin
2011-04-17Use the inet:ip_address() type instead of the user-defined one.Loïc Hoguin
2011-03-22Fix the type spec for path_tokens, a list of *non empty* strings.Loïc Hoguin
2011-03-21Fix spec for cowboy_dispatcher:split_host/1.Loïc Hoguin
2011-03-19Add support for the '*' path.Loïc Hoguin
Mostly used by the following request: OPTIONS * HTTP/1.1
2011-03-19Rewrite the dispatcher to take a list of host each having a list of paths.Loïc Hoguin
* Makes more sense to parse the host only once instead of for each path. * Allows proper handling of: If the host is not a valid host on the server, the response MUST be a 400 (Bad Request) error.
2011-03-17Initial commit.Loïc Hoguin