OnHttpRequest - cWebHttpHandler

Fires for each HTTP request that comes in

Type: Event

Parameters: String sVerb String sPath String sContentType String sAcceptType DWord iSize

ParameterDescription
sVerbString with the request verb (e.g. "POST", "GET", ...)
sPathThe path of the request (e.g. "/WebOrder_19_1/Something")
sContentTypeThe content-type header of the request
sAcceptTypeThe accept-type header of the request
iSizeThe size of the request body in bytes


Syntax
Procedure OnHttpRequest String sVerb String sPath String sContentType String sAcceptType DWord iSize

Description

Event that is fired for each HTTP request that comes in.

Note that if no forward send is performed, the verb specific events (like OnHttpPost and OnHttpGet) are not called.