using System;
namespace AsterNET.FastAGI.Command
{
///
/// Sets the context for continuation upon exiting the application.
///
public class SetContextCommand : AGICommand
{
/// The context for continuation upon exiting the application.
private string context;
///
/// Get/Set the context for continuation upon exiting the application.
///
public string Context
{
get { return context; }
set { this.context = value; }
}
///
/// Creates a new SetPriorityCommand.
///
/// the context for continuation upon exiting the application.
public SetContextCommand(string context)
{
this.context = context;
}
public override string BuildCommand()
{
return "SET CONTEXT " + EscapeAndQuote(context);
}
}
}