Back to product page

Delivery


Determines when will wodWebServer.NET deliver response.

Type

WebDelivery enumeration value

Syntax

  • C#
  • VB.NET
WebDelivery Delivery {get; set;};

Property Delivery As WebDelivery

Remarks

Delivery property determines if wodWebServer.NET should Send response to the client immediately after RequestDone event is finished, or it should not send response by itself at all - in which case you must call SendResponse method manually.

Usually, if you can create proper response from within RequestDone event, you should just set Delivery = Automatic (this is default value). But, if client's request needs lengthy processing, you should set Delivery = Manual, return from RequestDone event (in all cases try to execute your code inside RequestDone the fastest you can so wodWebServer.NET can continue accepting connections!), and then call SendResponse method later on.