dotcloud.pl

server(+Service:atom, :Goal) is det
Start HTTP service named Service. Service should match the name of a service configured in your dotloud.yml file. During deployment, dotCloud assigns a port on which the service must listen.

For convenience during development, if the environment variable 'PORT_$Service' is not set, listen on port 3000.

server(+ServiceAtom:atom) is det
Like server/2 but uses http_dispatch/1 as the Goal.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

http_dispatch(Arg1)
http_handler(Arg1, Arg2, Arg3)
http_delete_handler(Arg1)
http_reply_file(Arg1, Arg2, Arg3)
http_redirect(Arg1, Arg2, Arg3)
http_404(Arg1, Arg2)
http_switch_protocol(Arg1, Arg2)
http_current_handler(Arg1, Arg2)
http_current_handler(Arg1, Arg2, Arg3)
http_location_by_id(Arg1, Arg2)
http_link_to_id(Arg1, Arg2, Arg3)
http_reload_with_parameters(Arg1, Arg2, Arg3)
http_safe_file(Arg1, Arg2)