Skip to main content

DefaultRequestAttribute

Lets you Register new Services and the optional restPaths will be registered against this default Request Type

Assembly: ServiceStack.dll
View Source
Declaration
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class DefaultRequestAttribute : AttributeBase, _Attribute

Properties

RequestType

View Source
Declaration
public Type RequestType { get; set; }

Verbs

View Source
Declaration
public string Verbs { get; set; }

Implements

  • System.Runtime.InteropServices._Attribute