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

Async Reponse #3

Open
ghost opened this issue Jan 9, 2014 · 1 comment
Open

Async Reponse #3

ghost opened this issue Jan 9, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 9, 2014

I have some problem in usage of .net sdk's.
TransloaditResponse responseFirst = null;
ITransloadit transloadit = new Transloadit.Transloadit();
IAssemblyBuilder assembly = new AssemblyBuilder();
String transloadPost = String.Empty;
for (int i = 0; i < Request.Files.Count; i++ )
{
assembly.AddFile(Request.Files[i].FileName);

            }

assembly.SetTemplateID(transloadit.Config.DefaultTemplateID);
responseFirst = transloadit.InvokeAssembly(assembly);

I got a sync response with responseFirst.Data["ok"] = ASSEMBLY_EXECUTING.
But I need async response with responseFirst.Data["ok"] = ASSEMBLY_COMPLETED.
I want to wait till process is completed like "PHP integration". I do not want to use notify_url parameter.
But I did not find that how I can use .Net sdk to get asyc response or wait while assembly is completed.

@ghost
Copy link
Author

ghost commented Jul 9, 2014

there is any response my issue

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

No branches or pull requests

0 participants