noRoute

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

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

@property
noRoute
()

Examples

interface IAPI {
	// Accessible as "GET /info"
	string getInfo();

	// Not accessible over HTTP
	@noRoute
	int getFoo();
}

Meta