<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Class Poco::Net::HTTPSStreamFactory</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="language" content="en"/> <meta name="date" content="2009-11-24"/> <meta name="generator" content="PocoDoc"/> <link rel="stylesheet" href="css/styles.css" type="text/css"/> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0"> <div class="header"> <h1 class="namespace"><a href="Poco.Net.html" class="namespace">Poco::Net</a></h1> <h1 class="symbol">class HTTPSStreamFactory</h1> </div> <div class="body"> <p> <b>Library:</b> NetSSL_OpenSSL<br /> <b>Package:</b> HTTPSClient<br /> <b>Header:</b> Poco/Net/HTTPSStreamFactory.h</p> <h2>Description</h2> <div class="description"> <p>An implementation of the <a href="Poco.URIStreamFactory.html" title="class Poco::URIStreamFactory">URIStreamFactory</a> interface that handles secure Hyper-Text Transfer Protocol (https) URIs. </p> </div> <h2>Inheritance</h2> <p><b>Direct Base Classes: </b><a href="Poco.URIStreamFactory.html" title="class Poco::URIStreamFactory">Poco::URIStreamFactory</a></p> <p><b>All Base Classes: </b><a href="Poco.URIStreamFactory.html" title="class Poco::URIStreamFactory">Poco::URIStreamFactory</a></p> <h2>Member Summary</h2> <p><b>Member Functions: </b><a href="Poco.Net.HTTPSStreamFactory.html#15777" title="Poco::Net::HTTPSStreamFactory::open()">open</a>, <a href="Poco.Net.HTTPSStreamFactory.html#15779" title="Poco::Net::HTTPSStreamFactory::registerFactory()">registerFactory</a></p> <p><b>Inherited Functions: </b><a href="Poco.URIStreamFactory.html#11505" title="Poco::URIStreamFactory::open()">open</a></p> <h2>Constructors</h2> <h3><a name="15772">HTTPSStreamFactory</a></h3> <p class="decl"><a href="Poco.Net.HTTPSStreamFactory.html" title="class Poco::Net::HTTPSStreamFactory">HTTPSStreamFactory</a>();</p> <div class="description"> <p>Creates the <a href="Poco.Net.HTTPSStreamFactory.html" title="class Poco::Net::HTTPSStreamFactory">HTTPSStreamFactory</a>. </p> </div> <h3><a name="15773">HTTPSStreamFactory</a></h3> <p class="decl"><a href="Poco.Net.HTTPSStreamFactory.html" title="class Poco::Net::HTTPSStreamFactory">HTTPSStreamFactory</a>(<br /> const std::string & proxyHost,<br /> <a href="Poco.html#11352" title="Poco::UInt16">Poco::UInt16</a> proxyPort = HTTPSession::HTTP_PORT<br />);</p> <div class="description"> <p>Creates the <a href="Poco.Net.HTTPSStreamFactory.html" title="class Poco::Net::HTTPSStreamFactory">HTTPSStreamFactory</a>. </p> <p>HTTP connections will use the given proxy. </p> </div> <h2>Destructor</h2> <h3><a name="15776">~HTTPSStreamFactory</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">~<a href="Poco.Net.HTTPSStreamFactory.html" title="class Poco::Net::HTTPSStreamFactory">HTTPSStreamFactory</a>();</p> <div class="description"> <p>Destroys the <a href="Poco.Net.HTTPSStreamFactory.html" title="class Poco::Net::HTTPSStreamFactory">HTTPSStreamFactory</a>. </p> </div> <h2>Member Functions</h2> <h3><a name="15777">open</a></h3> <p class="decl">std::istream * open(<br /> const <a href="Poco.URI.html" title="class Poco::URI">Poco::URI</a> & uri<br />);</p> <div class="description"> <p>Creates and opens a HTTPS stream for the given <a href="Poco.URI.html" title="class Poco::URI">URI</a>. The <a href="Poco.URI.html" title="class Poco::URI">URI</a> must be a https://... <a href="Poco.URI.html" title="class Poco::URI">URI</a>. </p> <p>Throws a <a href="Poco.Net.NetException.html" title="class Poco::Net::NetException">NetException</a> if anything goes wrong. </p> </div> <h3><a name="15779">registerFactory</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static void registerFactory();</p> <div class="description"> <p>Registers the <a href="Poco.Net.HTTPSStreamFactory.html" title="class Poco::Net::HTTPSStreamFactory">HTTPSStreamFactory</a> with the default <a href="Poco.URIStreamOpener.html" title="class Poco::URIStreamOpener">URIStreamOpener</a> instance. </p> </div> <p class="footer">POCO C++ Libraries 1.3.6-all<br /> Copyright © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p> </div> </body> </html>