Skip to content

Extend ConvertApiParam for File parameter #2

Closed

Description

@JonasJasas

There is no way how to add more than one file to ConvertApiParam.
Extend ConvertApiParam class to ConvertApiFileParam and accept only one parameter, stream or string. The class will take care of File param names.

Now

new ConvertApiParam("File", File.OpenRead(@"\source\test.docx"))

Extended

new ConvertApiFileParam(File.OpenRead(@"\source\test.docx"))
new ConvertApiFileParam("http://www.mydomain.com/files.doc")

Activity

  1. changed the title [-]ConvertApiParam can accept only one file[/-] [+]Extend ConvertApiParam for File parameter[/+] on Jul 4, 2018
  2. tomasr78 commented on Aug 20, 2018

    @tomasr78
    Contributor

    Implemented at #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions