-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for streaming request payload (#237)
- Add support for streaming data to requests - `AWSPayload` contains an internal enum that can be initialised with a stream case which takes a closure supply `ByteBuffers` - Add helper method `Body.asByteBuffer` - AWSSignerV4: Added `BodyData.unsignedPayload` - Use unsigned-payload when streaming request payloads - Added `AWSPayload.fileHandle` used to create payload from `NIOFileHandle` - `AWSPayload.stream` now has an optional size parameter as does `AWSPayload.fileHandle` - Use one eventloop for request streaming - Added `.empty` case to `AWSPayload` enum - Added "chunked" output for streamed requests without a size - Added flags to `AWSShapeWithPayload` indicate whether streaming is allowed Co-authored-by: Fabian Fett <[email protected]>
- Loading branch information
1 parent
86301ca
commit e0f7031
Showing
16 changed files
with
505 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.