vibe.d beta banner
get vibe.d
0.7.30

Class RestInterfaceSettings

Encapsulates settings used to customize the generated REST interface.

Inherits from

  • Object (base class)

Fields

Name Type Description
allowedOrigins string[] List of allowed origins for CORS
baseURL URL The public URL below which the REST interface is registered.
httpClientSettings HTTPClientSettings Overrides the default HTTP client settings used by the RestInterfaceClient.
methodStyle MethodStyle Naming convention used for the generated URLs.
stripTrailingUnderscore bool Ignores a trailing underscore in method and function names.

Properties

Name Type Description
dup [get] RestInterfaceSettings
Authors

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

Copyright

© 2012-2016 RejectedSoftware e.K.

License

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