ServiceStack.HttpRequestExtensions.GetFormatModifier C# (CSharp) Method

GetFormatModifier() public static method

public static GetFormatModifier ( this httpReq ) : string
httpReq this
return string
        public static string GetFormatModifier(this IRequest httpReq)
        {
            var format = httpReq.QueryString[Keywords.Format];
            if (format == null)
                return null;

            var pos = format.IndexOf('.');
            return pos >= 0 ? format.Substring(pos + 1) : null;
        }