C-DEngine 5.105

IHttpInterceptor..::..RegisterHttpInterceptorB4 Method

This function registers an interceptor callback function, and a target URL path, to be called BEFORE the C DEngine processes the request further. 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)

Syntax


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

Parameters

pUrl
Type: String
Identifies target URLs are starting with a provided string.
sinkInterceptHttp
Type: Action<(Of <(<'TheRequestData>)>)>
Callback to handle the http request.