RequestAttributesExtensions
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public static class RequestAttributesExtensions
Methods
IsLocalhost(RequestAttributes)
View Source
Declaration
public static bool IsLocalhost(this RequestAttributes attrs)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.RequestAttributes | attrs |
IsLocalSubnet(RequestAttributes)
View Source
Declaration
public static bool IsLocalSubnet(this RequestAttributes attrs)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.RequestAttributes | attrs |
IsExternal(RequestAttributes)
View Source
Declaration
public static bool IsExternal(this RequestAttributes attrs)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.RequestAttributes | attrs |
ToFormat(String)
View Source
Declaration
public static Format ToFormat(this string format)
Returns
Parameters
Type | Name |
---|---|
System.String | format |
FromFormat(Format)
View Source
Declaration
public static string FromFormat(this Format format)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Format | format |
ToFormat(Feature)
View Source
Declaration
public static Format ToFormat(this Feature feature)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Feature | feature |
ToFeature(Format)
View Source
Declaration
public static Feature ToFeature(this Format format)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Format | format |
ToRequestAttribute(Format)
View Source
Declaration
public static RequestAttributes ToRequestAttribute(this Format format)
Returns
ServiceStack.RequestAttributes
Parameters
Type | Name |
---|---|
ServiceStack.Format | format |
ToSoapFeature(RequestAttributes)
View Source
Declaration
public static Feature ToSoapFeature(this RequestAttributes attributes)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.RequestAttributes | attributes |