mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
168d28c15f
LibWeb will need to use unbuffered requests to support server-sent events. Connection for such events remain open and the remote end sends data as HTTP bodies at its leisure. The browser needs to be able to handle this data as it arrives, as the request essentially never finishes. To support this, this make Protocol::Request operate in one of two modes: buffered or unbuffered. The existing mechanism for setting up a buffered request was a bit awkward; you had to set specific callbacks, but be sure not to set some others, and then set a flag. The new mechanism is to set the mode and the callbacks that the mode needs in one API. |
||
---|---|---|
.. | ||
History | ||
BookmarksBarWidget.cpp | ||
BookmarksBarWidget.h | ||
Browser.h | ||
BrowserWindow.cpp | ||
BrowserWindow.gml | ||
BrowserWindow.h | ||
CMakeLists.txt | ||
CookiesModel.cpp | ||
CookiesModel.h | ||
DownloadWidget.cpp | ||
DownloadWidget.h | ||
EditBookmark.gml | ||
IconBag.cpp | ||
IconBag.h | ||
InspectorWidget.cpp | ||
InspectorWidget.h | ||
main.cpp | ||
StorageModel.cpp | ||
StorageModel.h | ||
StorageWidget.cpp | ||
StorageWidget.gml | ||
StorageWidget.h | ||
Tab.cpp | ||
Tab.gml | ||
Tab.h | ||
TaskManagerWidget.cpp | ||
TaskManagerWidget.h | ||
URLBox.cpp | ||
URLBox.h | ||
WindowActions.cpp | ||
WindowActions.h |