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();
        }