Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 769 Bytes
%% @doc Dispatch list on a per-host basis.
%% host = atom specificying the symbolic hostname, also set in the wm_reqdata. Use 'default' for the catch-all host
%% hostname = the primary hostname, lowercase (eg. "")
%% streamhost = the hostname used for streaming, comet/websocket (eg. "*")
%% requests for this hostname are not redirected. '*.' is replaced by a random hostname.
%% hostalias = list of accepted aliases, lowercase (eg. [ "", "" ])
%% redirect = boolean, set to true to redirect GET requests to the main host
%% dispatch_list = list of {pathspec, controller, args}
-record(wm_host_dispatch_list, {host, hostname, streamhost, smtphost, hostalias, redirect, dispatch_list}).
Jump to Line
Something went wrong with that request. Please try again.