awslabs / awslabs/aws-crt-java

implement HttpRequestBodyStream for files

Open
#308 1 comment 0 reactions 0 assignees View on GitHub
feature-request p3
Dominant language
Java
Stars
76
Forks
46
PR merge metrics
No merged PRs in 30d

Description

We should probably consider wrapping `java.io.File` into something that implements `HttpRequestBodyStream` (or better yet special casing it to just use the existing `aws_input_stream` implementation: https://github.com/awslabs/aws-c-io/blob/main/include/aws/io/stream.h#L94 and avoid going through JNI all together (for reading the file))

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.