RejectedSoftware Forums

Sign up

Problem compiling example code

Hy,

I tried the code examples provided at http://vibed.org/docs and I couldn't compile the "Routing" one. I get the following message from the dmd 2.065 compiler:

"Error: no property 'post' for type 'vibe.http.server.HTTPServerRequest', did you mean 'host'?"

I also checked here http://vibed.org/api/vibe.http.server/HTTPServerRequest and could not find a "post" field or method for HTTPServerRequest.

Re: Problem compiling example code

On Mon, 27 Oct 2014 20:29:25 GMT, calin wrote:

Hy,

I tried the code examples provided at http://vibed.org/docs and I couldn't compile the "Routing" one. I get the following message from the dmd 2.065 compiler:

"Error: no property 'post' for type 'vibe.http.server.HTTPServerRequest', did you mean 'host'?"

I also checked here http://vibed.org/api/vibe.http.server/HTTPServerRequest and could not find a "post" field or method for HTTPServerRequest.

It should have read form instead of post. I've fixed the example now (including a spurious ; a few lines below before .get("*", ...)).

Re: Problem compiling example code

Thank you!