Transloadit.Assembly.AssemblyBuilder.SetNotifyURL C# (CSharp) Method

SetNotifyURL() public method

Sets the notification URL of the assembly, which will be requested after assembly is completed
public SetNotifyURL ( string notifyURL ) : void
notifyURL string Notification URL (e.g.: 'http://my.domain.me/application')
return void
        public void SetNotifyURL(string notifyURL)
        {
            this.notifyURL = notifyURL;
        }

Usage Example

        public void InvokeAssemblyWithNotifyUrl()
        {
            ITransloadit transloadit = new Transloadit.Transloadit();
            IAssemblyBuilder assembly = new AssemblyBuilder();
            assembly.SetNotifyURL("http://my.localhost");
            TransloaditResponse response = transloadit.InvokeAssembly(assembly);

            Assert.IsTrue((string)response.Data["ok"] == "ASSEMBLY_COMPLETED" || (string)response.Data["ok"] == "ASSEMBLY_EXECUTING");
        }
All Usage Examples Of Transloadit.Assembly.AssemblyBuilder::SetNotifyURL