1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:28:13 +00:00
serenity/Userland/Services/ProtocolServer
Lenny Maiorani 9f64424661 Http[s]Download: Make the constructor's initialization DRY
Problem:
- `HttpDownload()` and `HttpsDownload()` implementations are the same
  except for types and certificates.

Solution:
- Follow the "Don't Repeat Yourself" mantra and de-duplicate the code
  using templates.
2021-01-15 21:50:49 +01:00
..
ClientConnection.cpp LibIPC: Add an expressive way to close an IPC::File after sending it 2021-01-14 09:50:14 +01:00
ClientConnection.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
CMakeLists.txt Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Download.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Download.h Http[s]Download: Make the constructor's initialization DRY 2021-01-15 21:50:49 +01:00
Forward.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
GeminiDownload.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
GeminiDownload.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
GeminiProtocol.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
GeminiProtocol.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
HttpCommon.h Http[s]Download: Make the constructor's initialization DRY 2021-01-15 21:50:49 +01:00
HttpDownload.cpp Http[s]Download: Make the constructor's initialization DRY 2021-01-15 21:50:49 +01:00
HttpDownload.h Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
HttpProtocol.cpp Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
HttpProtocol.h Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
HttpsDownload.cpp Http[s]Download: Make the constructor's initialization DRY 2021-01-15 21:50:49 +01:00
HttpsDownload.h Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
HttpsProtocol.cpp Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
HttpsProtocol.h Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
main.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Protocol.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Protocol.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
ProtocolClient.ipc Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
ProtocolServer.ipc Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00