vibe.d beta banner
get vibe.d
0.7.30

Class RestInterfaceSettings

Encapsulates settings used to customize the generated REST interface.

class RestInterfaceSettings;

Fields

Fields

NameTypeDescription
allowedOriginsstring[]List of allowed origins for CORS
baseURLURLThe public URL below which the REST interface is registered.
httpClientSettingsHTTPClientSettingsOverrides the default HTTP client settings used by the RestInterfaceClient.
methodStyleMethodStyleNaming convention used for the generated URLs.
stripTrailingUnderscoreboolIgnores a trailing underscore in method and function names.

Properties

Properties

NameTypeDescription
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.