vibe.d beta banner
get vibe.d
0.9.5

Asynchronous I/O that doesn’t get in your way, written in D

Function response

Returns the current response.

HTTPServerResponse response() @property @safe;

Note that this may only be called from a function/method registered using registerWebInterface.

Example

void logIn()
{
	auto session = response.startSession();
	session.set(
Authors

Sönke Ludwig

Copyright

© 2013-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.