RestInterfaceSettings

Encapsulates settings used to customize the generated REST interface.

Members

Properties

dup
RestInterfaceSettings dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

allowedOrigins
string[] allowedOrigins;

List of allowed origins for CORS

baseURL
URL baseURL;

The public URL below which the REST interface is registered.

httpClientSettings
HTTPClientSettings httpClientSettings;

Overrides the default HTTP client settings used by the RestInterfaceClient.

methodStyle
MethodStyle methodStyle;

Naming convention used for the generated URLs.

stripTrailingUnderscore
bool stripTrailingUnderscore;

Ignores a trailing underscore in method and function names.

Meta