RejectedSoftware Forums

Sign up

Access Request/Response with vibe.web.*?

(I had thought I asked this before, but I can't find it, so maybe I
didn't. So pardon if this was already asked & answered...)

When using vibe.web.*, is there a way to obtain the current
HTTPServerRequest and HTTPServerResponse?

Re: Access Request/Response with vibe.web.*?

Am 10.09.2014 21:24, schrieb Nick Sabalausky:

(I had thought I asked this before, but I can't find it, so maybe I
didn't. So pardon if this was already asked & answered...)

When using vibe.web.*, is there a way to obtain the current
HTTPServerRequest and HTTPServerResponse?

You can simply define parameters of those types and they will receive
the current objects. I'll add that to the documentation.