Blighttp.Reply.Referral C# (CSharp) Method

Referral() public static method

public static Referral ( string url ) : Reply
url string
return Reply
        public static Reply Referral(string url)
        {
            Reply reply = new Reply();
            reply.Initialise(ReplyCode.Found, ContentType.Plain);
            reply.IsReferral = true;
            reply.Location = url;
            reply.Body = "";
            return reply;
        }