Skip to content

OnHttpRequest - cWebHttpHandler

Fires for each HTTP request that comes in

Type: Event

Parameters

Parameter Type Description
sVerb String String with the request verb (e.g. "POST", "GET", ...)
sPath String The path of the request (e.g. "/WebOrder_19_1/Something")
sContentType String The content-type header of the request
sAcceptType String The accept-type header of the request
iSize DWord The 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.