IWebServerBeforeRequestReceived Event |
Raised on a background thread when the web server receives a request from a browser. Called
before
RequestReceived is raised.
Namespace: VirtualRadar.Interface.WebServerAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxevent EventHandler<RequestReceivedEventArgs> BeforeRequestReceived
Event BeforeRequestReceived As EventHandler(Of RequestReceivedEventArgs)
event EventHandler<RequestReceivedEventArgs^>^ BeforeRequestReceived {
void add (EventHandler<RequestReceivedEventArgs^>^ value);
void remove (EventHandler<RequestReceivedEventArgs^>^ value);
}
abstract BeforeRequestReceived : IEvent<EventHandler<RequestReceivedEventArgs>,
RequestReceivedEventArgs>
Value
Type:
SystemEventHandlerRequestReceivedEventArgs
Remarks
This event allows plugins to intercept web requests before the main web site sees them. The
main web site only hooks
RequestReceived, if the plugin hooks this request and
then sets
Handled to true it will prevent the main web
site from attempting to honour that request.
See Also