File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed
Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 11build /
2+ .vscode /
Original file line number Diff line number Diff line change 11/* **************************************************************
22 *
3- * Copyright (C) 2024 , Pelican Project, Morgridge Institute for Research
3+ * Copyright (C) 2025 , Pelican Project, Morgridge Institute for Research
44 *
55 * Licensed under the Apache License, Version 2.0 (the "License"); you
66 * may not use this file except in compliance with the License. You may
Original file line number Diff line number Diff line change 11/* **************************************************************
22 *
3- * Copyright (C) 2024 , Pelican Project, Morgridge Institute for Research
3+ * Copyright (C) 2025 , Pelican Project, Morgridge Institute for Research
44 *
55 * Licensed under the Apache License, Version 2.0 (the "License"); you
66 * may not use this file except in compliance with the License. You may
@@ -297,9 +297,19 @@ class HTTPUpload : public HTTPRequest {
297297
298298 virtual bool SendRequest (const std::string &payload);
299299
300+ // Start a streaming request.
301+ //
302+ // - payload: The payload contents when uploading.
303+ // - object_size: Size of the entire upload payload.
300304 bool StartStreamingRequest (const std::string_view payload,
301305 off_t object_size);
302306
307+ // Continue a streaming request.
308+ //
309+ // - payload: The payload contents when uploading.
310+ // - object_size: Size of the entire upload payload.
311+ // - final: True if this is the last or only payload for the request. False
312+ // otherwise.
303313 bool ContinueStreamingRequest (const std::string_view payload,
304314 off_t object_size, bool final );
305315
Original file line number Diff line number Diff line change 11/* **************************************************************
22 *
3- * Copyright (C) 2024 , Pelican Project, Morgridge Institute for Research
3+ * Copyright (C) 2025 , Pelican Project, Morgridge Institute for Research
44 *
55 * Licensed under the Apache License, Version 2.0 (the "License"); you
66 * may not use this file except in compliance with the License. You may
You can’t perform that action at this time.
0 commit comments