File: debugrptup.tex

package info (click to toggle)
wxwidgets2.8 2.8.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 239,052 kB
  • ctags: 289,550
  • sloc: cpp: 1,838,857; xml: 396,717; python: 282,506; ansic: 126,171; makefile: 51,406; sh: 14,581; asm: 299; sql: 258; lex: 194; perl: 139; yacc: 128; pascal: 95; php: 39; lisp: 38; tcl: 24; haskell: 20; java: 18; cs: 18; erlang: 17; ruby: 16; ada: 9; ml: 9; csh: 9
file content (51 lines) | stat: -rw-r--r-- 2,084 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name:        debugrptup.tex
%% Purpose:     wxDebugReportUpload documentation
%% Author:      Vadim Zeitlin
%% Modified by:
%% Created:     2005-03-21
%% RCS-ID:      $Id: debugrptup.tex 32959 2005-03-21 18:28:27Z VZ $
%% 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 this
class derives from wxDebugReportCompress, before upload the report is
compressed 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 HTML
multipart/form-data form at the specified address. The \arg{url} is the upload
page address, \arg{input} is the name of the \texttt{"type=file"} control on
the form used for the file name and \arg{action} is the value of the form
action field. The report is uploaded using \texttt{\textit{curl}} program which
should be available, the \arg{curl} parameter may be used to specify the full
path 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 from
curl: 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}.