mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-19 11:57:40 +00:00
LibCore+LibHTTP: Move out the HTTP handler and add HTTPS
This commit is contained in:
committed by
Andreas Kling
parent
8d20a526e5
commit
7670e5ccf0
@@ -24,11 +24,11 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <LibCore/HttpJob.h>
|
||||
#include <LibCore/HttpResponse.h>
|
||||
#include <LibHTTP/HttpJob.h>
|
||||
#include <LibHTTP/HttpResponse.h>
|
||||
#include <ProtocolServer/HttpDownload.h>
|
||||
|
||||
HttpDownload::HttpDownload(PSClientConnection& client, NonnullRefPtr<Core::HttpJob>&& job)
|
||||
HttpDownload::HttpDownload(PSClientConnection& client, NonnullRefPtr<HTTP::HttpJob>&& job)
|
||||
: Download(client)
|
||||
, m_job(job)
|
||||
{
|
||||
@@ -43,7 +43,7 @@ HttpDownload::~HttpDownload()
|
||||
{
|
||||
}
|
||||
|
||||
NonnullRefPtr<HttpDownload> HttpDownload::create_with_job(Badge<HttpProtocol>, PSClientConnection& client, NonnullRefPtr<Core::HttpJob>&& job)
|
||||
NonnullRefPtr<HttpDownload> HttpDownload::create_with_job(Badge<HttpProtocol>, PSClientConnection& client, NonnullRefPtr<HTTP::HttpJob>&& job)
|
||||
{
|
||||
return adopt(*new HttpDownload(client, move(job)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user