vibe.d beta banner
get vibe.d
0.8.1

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

Class RestInterfaceSettings

Encapsulates settings used to customize the generated REST interface.

class RestInterfaceSettings ;

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

NameTypeDescription
dup[get]RestInterfaceSettings
Authors

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

Copyright

© 2012-2017 RejectedSoftware e.K.

License

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