Beispiel #1
0
    public void Send(HTTPResponsePacket.ComposeOptions Options = HTTPResponsePacket.ComposeOptions.AllCalculateLength)
    {
        if (Response.Handled)
        {
            return;
        }


        try
        {
            Response.Compose(Options);
            base.Send(Response.Data);

            // Refresh the current session
            if (session != null)
            {
                session.Refresh();
            }
        }
        catch
        {
            try
            {
                Close();
            }
            finally { }
        }
        finally
        {
        }
    }