public static void ProcessRequest(HttpContext httpContext) { if (server == null) { WebHookServer tempServer = new WebHookServer(); tempServer.RespondWithScreamingError(httpContext, "Server not started properly."); return; } server.ProcessRequest(httpContext); }
public static void StartServer() { server = new WebHookServer(); }