\helpref{wxSocketBase}{wxsocketbase}, \helpref{wxProtocol}{wxprotocol}
-\wxheading{Example}
-
-\begin{verbatim}
- wxURL url("http://a.host/a.dir/a.file");
- wxInputStream *in_stream;
-
- in_stream = url.GetInputStream();
- // Then, you can use all IO calls of in_stream (See wxStream)
-\end{verbatim}
-
% ----------------------------------------------------------------------------
% Members
% ----------------------------------------------------------------------------
Destroys the URL object.
-%
-% GetProtocolName
-%
-\membersection{wxURL::GetProtocolName}\label{wxurlgetprotocolname}
-
-\constfunc{wxString}{GetProtocolName}{\void}
-
-Returns the name of the protocol which will be used to get the URL.
-
%
% GetProtocol
%
Returns a reference to the protocol which will be used to get the URL.
-%
-% GetPath
-%
-\membersection{wxURL::GetPath}\label{wxurlgetpath}
-
-\func{wxString}{GetPath}{\void}
-
-Returns the path of the file to fetch. This path was encoded in the URL.
-
%
% GetError
%
functionality of wxStream. Seek isn't available on all stream. For example,
http or ftp streams doesn't deal with it.
+Note that this method is somewhat depreciated, all future wxWidgets applications
+should really use \helpref{wxFileSystem}{wxfilesystem} instead.
+
+Example:
+
+\begin{verbatim}
+ wxURL url("http://a.host/a.dir/a.file");
+ if (url.GetError() == wxURL_NOERR)
+ {
+ wxInputStream *in_stream;
+
+ in_stream = url.GetInputStream();
+ // Then, you can use all IO calls of in_stream (See wxStream)
+ }
+\end{verbatim}
+
\wxheading{Return value}
Returns the initialized stream. You will have to delete it yourself.
\helpref{wxURL::SetDefaultProxy}{wxurlsetdefaultproxy}
-%
-% SetProxy
-%
-\membersection{wxURL::ConvertToValidURI}\label{wxurlconverttovaliduri}
-
-\func{static wxString}{ConvertToValidURI}{\param{const wxString\&}{ uri}}
-
-It converts a non-standardized URI to a valid network URI. It encodes non
-standard characters.
-