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

Add upload_media_reader #140

Merged
merged 1 commit into from
Aug 27, 2023
Merged

Add upload_media_reader #140

merged 1 commit into from
Aug 27, 2023

Conversation

WinLinux1028
Copy link
Contributor

An improved version of #95
Since crate::generator returns a trait object, I had to make it dynamic dispatch.

追伸: お互い日本人っぽいので日本語で話しませんか?

@h3poteto
Copy link
Owner

他のコントリビュータが流れを追えなくなるので英語にしてください

@h3poteto
Copy link
Owner

In my understanding, the aim of this PR(and #95) is that you want to pass AsyncRead reader to upload_media func, right?

@WinLinux1028
Copy link
Contributor Author

Yes

@h3poteto
Copy link
Owner

Did you check the behavior using examples?

@WinLinux1028 WinLinux1028 reopened this Aug 26, 2023
@WinLinux1028
Copy link
Contributor Author

WinLinux1028 commented Aug 26, 2023

I made an example.
https://github.com/WinLinux1028/example_upload_media_reader
And this toot is posted by this example.
https://yugabytedon.hakurei.win/@relay/110958549235619090

Copy link
Owner

@h3poteto h3poteto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@h3poteto h3poteto merged commit 2e707e6 into h3poteto:master Aug 27, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants