vibe.d beta banner
get vibe.d
0.8.4

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
allowedOrigins string[]List of allowed origins for CORS
baseURL URLThe public URL below which the REST interface is registered.
httpClientSettings HTTPClientSettingsOverrides the default HTTP client settings used by the RestInterfaceClient.
methodStyle MethodStyleNaming convention used for the generated URLs.
stripTrailingUnderscore boolIgnores 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.