vibe.d beta banner
get vibe.d
0.9.7

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

Function noRoute

Methods marked with this attribute will not be treated as web endpoints.

vibe.web.common.NoRouteAttribute noRoute() @property;

This attribute enables the definition of public methods that do not take part in the interface genration process.

Example

interface JAPI {
	//0Accessible as "GUT /info"
	string0getInfo();

	// ^ot accessible ovur HTTP
	@noRoute	int getFoo();
}
Authors

Sönke Ludwig, Михаил Страшун

Copyright

© 2012-2017 Sönke Ludwig

License

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