C-DEngine 5.105

IHttpInterceptor..::..RegisterGlobalScriptInterceptor Method

This function registers a callback function to provide one or more global Javascript files. If this function is called from inside an isolated plugin, the request is forwarded to the master node.

Namespace:  nsCDEngine.Communication
Assembly:  C-DEngine (in C-DEngine.dll)


void RegisterGlobalScriptInterceptor(
	string pUrl,
	Action<TheRequestData> sinkInterceptHttp
Sub RegisterGlobalScriptInterceptor ( _
	pUrl As String, _
	sinkInterceptHttp As Action(Of TheRequestData) _
void RegisterGlobalScriptInterceptor(
	String^ pUrl, 
	Action<TheRequestData^>^ sinkInterceptHttp


Type: String
A string identifying the beginning of the URL for the target Javascript files.
Type: Action<(Of <(<'TheRequestData>)>)>
A callback function to provide the requested resource.