vibe.d beta banner
get vibe.d

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

Variable RestInterfaceSettings.stripTrailingUnderscore

Ignores a trailing underscore in method and function names.

class RestInterfaceSettings
  // ...
  bool stripTrailingUnderscore = true;
  // ...

With this setting set to true, it's possible to use names in the REST interface that are reserved words in D.


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


© 2012-2018 Sönke Ludwig


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