3
namespace ServiceStack.ServiceHost
6
/// Used to decorate Request DTO's to associate a RESTful request
7
/// path mapping with a service. Multiple attributes can be applied to
8
/// each request DTO, to map multiple paths to the service.
10
[Obsolete("Use [Route] instead of [RestService].")]
11
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
12
public class RestServiceAttribute
16
/// <para>Initializes an instance of the <see cref="RestServiceAttribute"/> class.</para>
18
/// <param name="path">
19
/// <para>The path template to map to the request. See
20
/// <see cref="Path">RestServiceAttribute.Path</see>
21
/// for details on the correct format.</para>
23
public RestServiceAttribute(string path)
29
/// <para>Initializes an instance of the <see cref="RestServiceAttribute"/> class.</para>
31
/// <param name="path">
32
/// <para>The path template to map to the request. See
33
/// <see cref="Path">RestServiceAttribute.Path</see>
34
/// for details on the correct format.</para>
36
/// <param name="verbs">A comma-delimited list of HTTP verbs supported by the
37
/// service. If unspecified, all verbs are assumed to be supported.</param>
38
public RestServiceAttribute(string path, string verbs)
b'\\ No newline at end of file'