ServiceStack.HttpCacheExtensions.EndNotModified C# (CSharp) Метод

EndNotModified() публичный статический Метод

public static EndNotModified ( this res, string description = null ) : void
res this
description string
Результат void
        public static void EndNotModified(this IResponse res, string description=null)
        {
            res.StatusCode = 304;
            res.StatusDescription = description ?? HostContext.ResolveLocalizedString(LocalizedStrings.NotModified);
            res.EndRequest();
        }