[erlang-questions] calling func with predef params?
not norwegian swede
notnorwegian@REDACTED
Wed Jul 2 12:42:12 CEST 2008
how do i call do_get?
-module(test_iserve_app).
-export([do_get/2]).
-include("iserve.hrl").
do_get(#req{} = Req, Args) ->
{200, [], <<"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>Welcome to iserve</title>
</head>
<body>
Hello
</body>
</html>">>}.
__________________________________________________________
Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling.
Sök och jämför priser hos Kelkoo.
http://www.kelkoo.se/c-100015813-bredband.html?partnerId=96914325
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080702/6ac52eb4/attachment.htm>
More information about the erlang-questions
mailing list