ladybird/Userland/Libraries/LibProtocol
Timothy Flynn 168d28c15f LibProtocol+Userland: Support unbuffered protocol requests
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.
2024-05-26 18:29:24 +02:00
..
CMakeLists.txt Everywhere: Merge the WebSocket service into RequestServer 2024-03-06 10:07:27 +01:00
Request.cpp LibProtocol+Userland: Support unbuffered protocol requests 2024-05-26 18:29:24 +02:00
Request.h LibProtocol+Userland: Support unbuffered protocol requests 2024-05-26 18:29:24 +02:00
RequestClient.cpp AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
RequestClient.h AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
WebSocket.cpp Everywhere: Merge the WebSocket service into RequestServer 2024-03-06 10:07:27 +01:00
WebSocket.h Everywhere: Merge the WebSocket service into RequestServer 2024-03-06 10:07:27 +01:00