📄 debugrptup.tex
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Name: debugrptup.tex%% Purpose: wxDebugReportUpload documentation%% Author: Vadim Zeitlin%% Modified by:%% Created: 2005-03-21%% RCS-ID: $Id: debugrptup.tex,v 1.1 2005/03/21 18:28:27 VZ Exp $%% Copyright: (c) Vadim Zeitlin 2005%% License: wxWindows license%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\section{\class{wxDebugReportUpload}}\label{wxdebugreportupload}This class is used to upload a compressed file using HTTP POST request. As thisclass derives from wxDebugReportCompress, before upload the report iscompressed in a single .ZIP file.\wxheading{Derived from}\helpref{wxDebugReportCompress}{wxdebugreportcompress}\wxheading{Include files}<wx/debugrpt.h>\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxDebugReportUpload::wxDebugReportUpload}\label{wxdebugreportuploadwxdebugreportupload}\func{}{wxDebugReportUpload}{\param{const wxString\& }{url}, \param{const wxString\& }{input}, \param{const wxString\& }{action}, \param{const wxString\& }{curl = \_T("curl")}}This class will upload the compressed file created by its base class to an HTMLmultipart/form-data form at the specified address. The \arg{url} is the uploadpage address, \arg{input} is the name of the \texttt{"type=file"} control onthe form used for the file name and \arg{action} is the value of the formaction field. The report is uploaded using \texttt{\textit{curl}} program whichshould be available, the \arg{curl} parameter may be used to specify the fullpath to it.\membersection{wxDebugReportUpload::OnServerReply}\label{wxdebugreportuploadonserverreply}\func{bool}{OnServerReply}{\param{const wxArrayString\& }{WXUNUSED(reply)}}This function may be overridden in a derived class to show the output fromcurl: this may be an HTML page or anything else that the server returned.Value returned by this function becomes the return value of \helpref{wxDebugReport::Process()}{wxdebugreportprocess}.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -