Skip to main content

RestRoute

Assembly: ServiceStack.Client.dll
View Source
Declaration
public class RestRoute

Properties

ErrorMsg

View Source
Declaration
public string ErrorMsg { get; }

Type

View Source
Declaration
public Type Type { get; }

IsValid

View Source
Declaration
public bool IsValid { get; }

Path

View Source
Declaration
public string Path { get; }

Priority

View Source
Declaration
public int Priority { get; }

HttpMethods

View Source
Declaration
public string[] HttpMethods { get; }

Variables

View Source
Declaration
public ICollection<string> Variables { get; }

QueryStringVariables

View Source
Declaration
public List<string> QueryStringVariables { get; }

Fields

EmptyArray

View Source
Declaration
public const string EmptyArray = "[]"

FormatVariable

View Source
Declaration
public static Func<object, string> FormatVariable

FormatQueryParameterValue

View Source
Declaration
public static Func<object, string> FormatQueryParameterValue

Methods

Apply(Object, String)

View Source
Declaration
public RouteResolutionResult Apply(object request, string httpMethod)
Returns

ServiceStack.RouteResolutionResult

Parameters
TypeName
System.Objectrequest
System.StringhttpMethod

FormatQueryParameters(Object)

View Source
Declaration
public string FormatQueryParameters(object request)
Returns

System.String

Parameters
TypeName
System.Objectrequest