HttpServer.WebServer.Set404Handler C# (CSharp) Method

Set404Handler() public method

Set a callback to override the default 404 (Not Found) response
public Set404Handler ( HttpRequestCallback callback ) : void
callback HttpRequestCallback Callback that will be fired when an unhandled /// request is received, or null to reset to the default handler
return void
        public void Set404Handler(HttpRequestCallback callback)
        {
            notFoundHandler = callback;
        }