public virtual Task<TwitterAsyncResult<TwitterUploadedMedia>> UploadMediaAsync(UploadMediaOptions options) { return WithHammockTask<TwitterUploadedMedia>(_client, WebMethod.Post, "media/upload", FormatAsString); }
public virtual void UploadMedia(UploadMediaOptions options, Action<TwitterUploadedMedia, TwitterResponse> action) { WithHammock(_client, WebMethod.Post, action, "media/upload", FormatAsString); }
public virtual IAsyncResult UploadMedia(UploadMediaOptions options, Action<TwitterUploadedMedia, TwitterResponse> action) { var media = options.Media; return WithHammock(_client, WebMethod.Post, action, "media/upload", media, FormatAsString); }
public virtual IAsyncResult BeginUploadMedia(UploadMediaOptions options) { var media = options.Media; return BeginWithHammock<TwitterUploadedMedia>(_client, WebMethod.Post, "media/upload", media, FormatAsString); }
public virtual TwitterUploadedMedia UploadMedia(UploadMediaOptions options) { var media = options.Media; return WithHammock<TwitterUploadedMedia>(_uploadMediaClient, WebMethod.Post, "media/upload", media, FormatAsString); }