Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Implement Inbox Streaming API #4

Open
djenczewski opened this issue Dec 4, 2024 · 0 comments · Fixed by #9
Open

[FEAT]: Implement Inbox Streaming API #4

djenczewski opened this issue Dec 4, 2024 · 0 comments · Fixed by #9
Assignees

Comments

@djenczewski
Copy link
Member

Description

Implementation of Inbox Streaming API, which automates and optimizes process of creating Entries and sending files.

Privmx-Endpoint-Extra

ADDITIONS

1. File Sending Capabilities

  • Classes for sending Files into Inboxes similarly to Store Streaming API.
  • Supports for InputStream/OutputStream and read/write byte arrays (chunks) for flexibility.

2. Enhanced Entry Creation

  • Classes for creating Entries in a less error-prone way include functionality for preparing Entries, sending files using Java streams and byte arrays (chunks), sending the completed Entries and listening state changes and errors.
@djenczewski djenczewski self-assigned this Dec 4, 2024
djenczewski added a commit that referenced this issue Dec 6, 2024
…ener.onNextChunkRequest returns null during sending file (#4)
@djenczewski djenczewski linked a pull request Dec 11, 2024 that will close this issue
djenczewski added a commit that referenced this issue Dec 11, 2024
* feat(privmx-endopint-extra): Implement Inbox Stream API #4

* refactor: InboxFileStreamWriter.writeStream method improvements (#4)

* fix: throw NullPointerException when InboxEntryStream.EntryStreamListener.onNextChunkRequest returns null during sending file (#4)

* docs: Create docs for Inbox stream API (#4)

* docs: Update docs for InboxEntryStream (#4)

* docs: update inbox streaming api

* refactor: readed -> read

* docs: Update onStartFileSending method docs (#4)

---------

Co-authored-by: fgrochowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant