mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 09:41:33 +02:00
default request
This commit is contained in:
parent
c3f3a26dca
commit
1e7bffcd8a
@ -22,7 +22,11 @@ namespace Novetus.Core
|
||||
public virtual bool IsValidURL(string absolutePath, string host) { return false; }
|
||||
|
||||
public virtual Task OnBeforeTunnelConnectRequest(object sender, TunnelConnectSessionEventArgs e) { return Task.CompletedTask; }
|
||||
public virtual Task OnRequest(object sender, SessionEventArgs e) { return Task.CompletedTask; }
|
||||
public virtual Task OnRequest(object sender, SessionEventArgs e)
|
||||
{
|
||||
e.Ok("Test successful. \nRunning Novetus " + GlobalVars.ProgramInformation.Version + " on " + GlobalVars.ProgramInformation.NetVersion);
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
|
||||
public class WebProxy
|
||||
|
Loading…
Reference in New Issue
Block a user