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

Expose ResumableUpload.InitiateSessionAsync #919

Merged
merged 1 commit into from
Feb 13, 2017

Conversation

evildour
Copy link
Contributor

This is to support scenario 2a from here.

If/when this is merged and released, I plan to factor out the 5 lines starting from here into a public method which returns the InsertMediaUpload instance. Someone can then use that method to get the uploader and initiate the session without actually uploading. They can just use the resulting session URI to pass it along to some other client. I will also add a snippet demonstrating how to do this.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 13, 2017
Copy link
Collaborator

@jskeet jskeet left a comment

Choose a reason for hiding this comment

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

Yup, looks sensible to me.

@evildour
Copy link
Contributor Author

Thanks Jon. Please merge this one as well.

@jskeet jskeet merged commit 5a33ddc into googleapis:master Feb 13, 2017
@evildour evildour deleted the initiate-session branch March 13, 2017 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants