using System; namespace OSHttpServer { /// /// We dont want to let the server to die due to exceptions thrown in worker threads. /// therefore we use this delegate to give you a change to handle uncaught exceptions. /// /// Class that the exception was thrown in. /// Exception /// /// Server will throw a InternalServerException in release version if you dont /// handle this delegate. /// public delegate void ExceptionHandler(object source, Exception exception); }