Skip to main content

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
TypeName
ServiceStack.RequestAttributesattrs

IsLocalSubnet(RequestAttributes)

View Source
Declaration
public static bool IsLocalSubnet(this RequestAttributes attrs)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.RequestAttributesattrs

IsExternal(RequestAttributes)

View Source
Declaration
public static bool IsExternal(this RequestAttributes attrs)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.RequestAttributesattrs

ToFormat(String)

View Source
Declaration
public static Format ToFormat(this string format)
Returns

ServiceStack.Format

Parameters
TypeName
System.Stringformat

FromFormat(Format)

View Source
Declaration
public static string FromFormat(this Format format)
Returns

System.String

Parameters
TypeName
ServiceStack.Formatformat

ToFormat(Feature)

View Source
Declaration
public static Format ToFormat(this Feature feature)
Returns

ServiceStack.Format

Parameters
TypeName
ServiceStack.Featurefeature

ToFeature(Format)

View Source
Declaration
public static Feature ToFeature(this Format format)
Returns

ServiceStack.Feature

Parameters
TypeName
ServiceStack.Formatformat

ToRequestAttribute(Format)

View Source
Declaration
public static RequestAttributes ToRequestAttribute(this Format format)
Returns

ServiceStack.RequestAttributes

Parameters
TypeName
ServiceStack.Formatformat

ToSoapFeature(RequestAttributes)

View Source
Declaration
public static Feature ToSoapFeature(this RequestAttributes attributes)
Returns

ServiceStack.Feature

Parameters
TypeName
ServiceStack.RequestAttributesattributes