memberHttpMethodFormat

Undocumented in source.
enum memberHttpMethodFormat = q{ static if (hasUDA!(%1$s.%2$s, HttpPost)) { static const memberHttpMethod = "POST"; } else static if (hasUDA!(%1$s.%2$s, HttpPut)) { static const memberHttpMethod = "PUT"; } else static if (hasUDA!(%1$s.%2$s, HttpDelete)) { static const memberHttpMethod = "DELETE"; } else static if (hasUDA!(%1$s.%2$s, HttpPatch)) { static const memberHttpMethod = "PATCH"; } else static if (hasUDA!(%1$s.%2$s, HttpOptions)) { static const memberHttpMethod = "OPTIONS"; } else static if (hasUDA!(%1$s.%2$s, HttpHead)) { static const memberHttpMethod = "HEAD"; } else static if (hasUDA!(%1$s.%2$s, HttpConnect)) { static const memberHttpMethod = "CONNECT"; } else static if (hasUDA!(%1$s.%2$s, HttpTrace)) { static const memberHttpMethod = "TRACE"; } else { static const memberHttpMethod = "GET"; } };

Meta